mirror of
https://github.com/Serial-Studio/Serial-Studio.git
synced 2025-01-31 17:42:55 +08:00
Update main.yml
This commit is contained in:
parent
b29c26b1dd
commit
4bf71ffac8
22
.github/workflows/main.yml
vendored
22
.github/workflows/main.yml
vendored
@ -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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user