Use protobuf@21 in OS X build

This commit is contained in:
Martin Tůma 2023-09-21 01:00:14 +02:00
parent 76f1a23f8d
commit 9dba35082b

View File

@ -10,11 +10,13 @@ jobs:
name: QtPBFImagePlugin name: QtPBFImagePlugin
runs-on: macos-latest runs-on: macos-latest
steps: steps:
- name: Set environment variables
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 dependencies
run: brew install qt6 protobuf run: brew install qt6 protobuf@21
- name: Configure build - name: Configure build
run: qmake PROTOBUF=/usr/local pbfplugin.pro run: qmake PROTOBUF=/usr/local/opt/protobuf@21 pbfplugin.pro
- name: Build project - name: Build project
run: make -j3 run: make -j3