mirror of
https://github.com/tumic0/QtPBFImagePlugin.git
synced 2024-11-27 21:24:48 +01:00
Martin Tůma
d6a24a4498
Build all using Homebrew packages and do not provide artifacts as those are unusable outside the particular build machine.
38 lines
1.0 KiB
YAML
38 lines
1.0 KiB
YAML
name: OS X
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- master
|
|
|
|
jobs:
|
|
qt5:
|
|
name: QtPBFImagePlugin Qt5 build
|
|
runs-on: macos-latest
|
|
steps:
|
|
- name: Set environment variables
|
|
run: echo "PATH=/usr/local/opt/qt@5/bin:/usr/local/opt/protobuf@21/bin:$PATH" >> $GITHUB_ENV
|
|
- name: Checkout
|
|
uses: actions/checkout@v3
|
|
- name: Install dependencies
|
|
run: brew install qt@5 protobuf@21
|
|
- name: Configure build
|
|
run: qmake PROTOBUF=/usr/local/opt/protobuf@21 pbfplugin.pro
|
|
- name: Build project
|
|
run: make -j3
|
|
|
|
qt6:
|
|
name: QtPBFImagePlugin Qt6 build
|
|
runs-on: macos-latest
|
|
steps:
|
|
- name: Set environment variables
|
|
run: echo "PATH=/usr/local/opt/qt@6/bin:/usr/local/opt/protobuf@21/bin:$PATH" >> $GITHUB_ENV
|
|
- name: Checkout
|
|
uses: actions/checkout@v3
|
|
- name: Install dependencies
|
|
run: brew install qt@6 protobuf@21
|
|
- name: Configure build
|
|
run: qmake PROTOBUF=/usr/local/opt/protobuf@21 pbfplugin.pro
|
|
- name: Build project
|
|
run: make -j3
|