mirror of
https://github.com/tumic0/QtPBFImagePlugin.git
synced 2024-11-24 03:35:54 +01:00
Switch back to Homebrew-only based builds
Build all using Homebrew packages and do not provide artifacts as those are unusable outside the particular build machine.
This commit is contained in:
parent
a26c86dbd8
commit
d6a24a4498
30
.github/workflows/osx.yml
vendored
30
.github/workflows/osx.yml
vendored
@ -11,45 +11,27 @@ jobs:
|
|||||||
runs-on: macos-latest
|
runs-on: macos-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Set environment variables
|
- name: Set environment variables
|
||||||
run: echo "PATH=/usr/local/opt/protobuf@21/bin:$PATH" >> $GITHUB_ENV
|
run: echo "PATH=/usr/local/opt/qt@5/bin:/usr/local/opt/protobuf@21/bin:$PATH" >> $GITHUB_ENV
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v3
|
||||||
- name: Install Qt
|
- name: Install dependencies
|
||||||
uses: jurplel/install-qt-action@v3
|
run: brew install qt@5 protobuf@21
|
||||||
with:
|
|
||||||
version: '5.15.2'
|
|
||||||
- name: Install protobuf
|
|
||||||
run: brew install protobuf@21
|
|
||||||
- name: Configure build
|
- name: Configure build
|
||||||
run: qmake PROTOBUF=/usr/local/opt/protobuf@21 pbfplugin.pro
|
run: qmake PROTOBUF=/usr/local/opt/protobuf@21 pbfplugin.pro
|
||||||
- name: Build project
|
- name: Build project
|
||||||
run: make -j3
|
run: make -j3
|
||||||
- name: Upload artifacts
|
|
||||||
uses: actions/upload-artifact@v3
|
|
||||||
with:
|
|
||||||
name: libpbf-qt5.dylib
|
|
||||||
path: libpbf.dylib
|
|
||||||
|
|
||||||
qt6:
|
qt6:
|
||||||
name: QtPBFImagePlugin Qt6 build
|
name: QtPBFImagePlugin Qt6 build
|
||||||
runs-on: macos-latest
|
runs-on: macos-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Set environment variables
|
- name: Set environment variables
|
||||||
run: echo "PATH=/usr/local/opt/protobuf@21/bin:$PATH" >> $GITHUB_ENV
|
run: echo "PATH=/usr/local/opt/qt@6/bin:/usr/local/opt/protobuf@21/bin:$PATH" >> $GITHUB_ENV
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v3
|
||||||
- name: Install Qt
|
- name: Install dependencies
|
||||||
uses: jurplel/install-qt-action@v3
|
run: brew install qt@6 protobuf@21
|
||||||
with:
|
|
||||||
version: '6.5.1'
|
|
||||||
- name: Install protobuf
|
|
||||||
run: brew install protobuf@21
|
|
||||||
- name: Configure build
|
- name: Configure build
|
||||||
run: qmake PROTOBUF=/usr/local/opt/protobuf@21 pbfplugin.pro
|
run: qmake PROTOBUF=/usr/local/opt/protobuf@21 pbfplugin.pro
|
||||||
- name: Build project
|
- name: Build project
|
||||||
run: make -j3
|
run: make -j3
|
||||||
- name: Upload artifacts
|
|
||||||
uses: actions/upload-artifact@v3
|
|
||||||
with:
|
|
||||||
name: libpbf-qt6.dylib
|
|
||||||
path: libpbf.dylib
|
|
||||||
|
Loading…
Reference in New Issue
Block a user