Update main.yml

This commit is contained in:
Alex Spataru 2020-12-25 21:17:44 -06:00 committed by GitHub
parent b29c26b1dd
commit 4bf71ffac8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -22,3 +22,25 @@ jobs:
cd build-linux cd build-linux
qmake ../Serial-Studio.pro qmake ../Serial-Studio.pro
make make
build-mac:
runs-on: macos-latest
steps:
- name: Cache Qt
id: cache-qt
uses: actions/cache@v1
with:
path: ../Qt
key: ${{ runner.os }}-QtCache
- name: Install Qt
uses: jurplel/install-qt-action@v2
with:
cached: ${{ steps.cache-qt.outputs.cache-hit }}
- name: Compile
run: rm -rf build-mac
mkdir build-mac
cd build-mac
qmake ../Serial-Studio.pro
make