2021-10-27 17:42:17 +02:00
|
|
|
name: OS X
|
|
|
|
|
|
|
|
on:
|
|
|
|
push:
|
|
|
|
branches:
|
|
|
|
- master
|
|
|
|
|
|
|
|
jobs:
|
2025-01-06 09:19:36 +01:00
|
|
|
build:
|
|
|
|
name: QtPBFImagePlugin
|
2023-05-05 23:26:03 +02:00
|
|
|
runs-on: macos-latest
|
2021-10-27 17:42:17 +02:00
|
|
|
steps:
|
|
|
|
- name: Checkout
|
2024-02-03 18:35:23 +01:00
|
|
|
uses: actions/checkout@v4
|
2025-01-06 09:19:36 +01:00
|
|
|
- name: Install Qt
|
|
|
|
uses: jurplel/install-qt-action@v4
|
|
|
|
with:
|
|
|
|
version: '6.8.1'
|
2021-10-27 17:42:17 +02:00
|
|
|
- name: Configure build
|
2025-01-06 09:19:36 +01:00
|
|
|
run: qmake pbfplugin.pro QMAKE_APPLE_DEVICE_ARCHS="x86_64h arm64"
|
2023-09-26 20:14:58 +02:00
|
|
|
- name: Build project
|
2024-06-14 19:59:43 +02:00
|
|
|
run: make -j3
|
2025-01-06 09:19:36 +01:00
|
|
|
- name: Upload artifacts
|
|
|
|
uses: actions/upload-artifact@v4
|
|
|
|
with:
|
|
|
|
path: libpbf.dylib
|
|
|
|
name: libpbf.dylib
|