QtPBFImagePlugin/.github/workflows/osx.yml

23 lines
533 B
YAML

name: OS X
on:
push:
branches:
- master
jobs:
build:
name: QtPBFImagePlugin
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 dependencies
run: brew install qt6 protobuf@21
- name: Configure build
run: qmake PROTOBUF=/usr/local/opt/protobuf@21 pbfplugin.pro
- name: Build project
run: make -j3