QtPBFImagePlugin/.github/workflows/osx.yml

42 lines
1.1 KiB
YAML
Raw Normal View History

2021-10-27 17:42:17 +02:00
name: OS X
on:
push:
branches:
- master
jobs:
2023-09-26 20:14:58 +02:00
qt5:
name: QtPBFImagePlugin Qt5 build
2023-05-05 23:26:03 +02:00
runs-on: macos-latest
2021-10-27 17:42:17 +02:00
steps:
2023-09-21 01:00:14 +02:00
- name: Set environment variables
2024-06-14 19:59:43 +02:00
run: echo "PATH=/opt/homebrew/opt/qt@5/bin:/opt/homebrew/opt/protobuf@21/bin:$PATH" >> $GITHUB_ENV
2021-10-27 17:42:17 +02:00
- name: Checkout
2024-02-03 18:35:23 +01:00
uses: actions/checkout@v4
- name: Install dependencies
2024-06-14 19:37:07 +02:00
run: |
brew update
brew install qt@5 protobuf@21
2021-10-27 17:42:17 +02:00
- name: Configure build
2024-06-14 19:59:43 +02:00
run: qmake PROTOBUF=/opt/homebrew/opt/protobuf@21 pbfplugin.pro
2021-10-27 17:42:17 +02:00
- name: Build project
2024-06-14 19:59:43 +02:00
run: make -j3
2023-09-26 20:14:58 +02:00
qt6:
name: QtPBFImagePlugin Qt6 build
runs-on: macos-latest
steps:
- name: Set environment variables
2024-06-14 19:59:43 +02:00
run: echo "PATH=/opt/homebrew/opt/qt@6/bin:/opt/homebrew/opt/protobuf@21/bin:$PATH" >> $GITHUB_ENV
2023-09-26 20:14:58 +02:00
- name: Checkout
2024-02-03 18:35:23 +01:00
uses: actions/checkout@v4
- name: Install dependencies
2024-06-14 19:37:07 +02:00
run: |
brew update
brew install qt@6 protobuf@21
2023-09-26 20:14:58 +02:00
- name: Configure build
2024-06-14 19:59:43 +02:00
run: qmake PROTOBUF=/opt/homebrew/opt/protobuf@21 pbfplugin.pro
2023-09-26 20:14:58 +02:00
- name: Build project
2024-06-14 19:59:43 +02:00
run: make -j3