diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 43a6659..c9741c7 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -7,44 +7,31 @@ on: pull_request: branches: - dev - jobs: build: runs-on: ${{ matrix.os }} strategy: matrix: - os: [ubuntu-latest, macos-latest, windows-latest] - + os: [ubuntu-latest, macos-latest] + steps: - name: Checkout code uses: actions/checkout@v2 - + - name: Install Qt uses: jurplel/install-qt-action@v3.3.0 with: version: 6.4.3 modules: qtcharts - - name: Configure Project - run: | - if [ "$RUNNER_OS" == "Windows" ]; then - echo "Configuring MSVC" - name: Configure MSVC - uses: ilammy/msvc-dev-cmd@v1 - with: - arch: x64 - spectre: true - fi - qmake -makefile src/Gradify.pro - + - name: Configure + run: qmake -makefile src/Gradify.pro + - name: Build - run: make || true - continue-on-error: true - + run: make + - name: Test - run: make test || true - continue-on-error: true - + run: make test + - name: Package - run: make install || true - continue-on-error: true + run: make install