Added GitHub actions OS X build

This commit is contained in:
Martin Tůma 2021-10-27 17:42:17 +02:00
parent e22ea9aa12
commit ae8b2f00db

22
.github/workflows/osx.yml vendored Normal file
View File

@ -0,0 +1,22 @@
name: OS X
on:
push:
branches:
- master
jobs:
build:
name: QtPBFImagePlugin
runs-on: macos-10.15
steps:
- name: Set environment variables
run: echo "PATH=/usr/local/opt/qt@5/bin:$PATH" >> $GITHUB_ENV
- name: Checkout
uses: actions/checkout@v2
- name: Install dependencies
run: brew install qt5 protobuf
- name: Configure build
run: qmake PROTOBUF=/usr/local pbfplugin.pro
- name: Build project
run: make -j3