Skip to content

Merge pull request #43 from itzurabhi/feature/cmake-build #18

Merge pull request #43 from itzurabhi/feature/cmake-build

Merge pull request #43 from itzurabhi/feature/cmake-build #18

Workflow file for this run

name: Build
on: [push]
jobs:
build-linux:
runs-on: ubuntu-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-linux
mkdir build-linux
cd build-linux
qmake ../QSimpleUpdater.pro
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 ../QSimpleUpdater.pro
make