diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 4d3ec46..7c6d46c 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -28,8 +28,8 @@ jobs: strategy: fail-fast: false matrix: - app: [member_enabled, member_disabled, unique_ptr_enabled, unique_ptr_disabled] - os: [macos-latest, windows-latest] + app: [ member_enabled, member_disabled, unique_ptr_enabled, unique_ptr_disabled ] + os: [ macos-latest, windows-latest ] steps: - name: Checkout @@ -37,6 +37,9 @@ jobs: with: fetch-depth: 1 + - name: Run sccache-cache + uses: mozilla-actions/sccache-action@v0.0.3 + - name: Configure run: cmake -B Builds -DTARGET_NAME:STRING=${{ matrix.app }} @@ -46,7 +49,7 @@ jobs: - name: Run if: ${{ matrix.os == 'macos-latest' }} working-directory: Builds/${{ matrix.app }}_artefacts - timeout-minutes: 1 + timeout-minutes: 2 run: | ls -ahl ${{ matrix.app }}.app/Contents/MacOS/${{ matrix.app }} & @@ -54,11 +57,12 @@ jobs: - name: Run if: ${{ matrix.os == 'windows-latest' }} working-directory: Builds/${{ matrix.app }}_artefacts - timeout-minutes: 1 + timeout-minutes: 2 run: | ls -ahl ./Debug/${{ matrix.app }}.exe & - uses: OrbitalOwen/desktop-screenshot-action@0.1 + if: ${{ matrix.os == 'windows-latest' }} with: file-name: ${{ matrix.os }}-${{matrix.app}}.jpg