mirror of
https://github.com/tumic0/QtPBFImagePlugin.git
synced 2024-11-24 03:35:54 +01:00
Use GPXSee compatible Qt versions
This commit is contained in:
parent
f8044efda6
commit
0db93fd5ee
41
.github/workflows/osx.yml
vendored
41
.github/workflows/osx.yml
vendored
@ -6,17 +6,50 @@ on:
|
|||||||
- master
|
- master
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
qt5:
|
||||||
name: QtPBFImagePlugin
|
name: QtPBFImagePlugin Qt5 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/protobuf@21/bin:$PATH" >> $GITHUB_ENV
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v3
|
||||||
- name: Install dependencies
|
- name: Install Qt
|
||||||
run: brew install qt6 protobuf@21
|
uses: jurplel/install-qt-action@v3
|
||||||
|
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:
|
||||||
|
name: QtPBFImagePlugin Qt6 build
|
||||||
|
runs-on: macos-latest
|
||||||
|
steps:
|
||||||
|
- name: Set environment variables
|
||||||
|
run: echo "PATH=/usr/local/opt/protobuf@21/bin:$PATH" >> $GITHUB_ENV
|
||||||
|
- name: Checkout
|
||||||
|
uses: actions/checkout@v3
|
||||||
|
- name: Install Qt
|
||||||
|
uses: jurplel/install-qt-action@v3
|
||||||
|
with:
|
||||||
|
version: '6.5.1'
|
||||||
|
- name: Install protobuf
|
||||||
|
run: brew install protobuf@21
|
||||||
|
- name: Configure build
|
||||||
|
run: qmake PROTOBUF=/usr/local/opt/protobuf@21 pbfplugin.pro
|
||||||
|
- name: Build project
|
||||||
|
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