From f4f5263c7c9f195bcb0eeb0cd3b2ad549c8d1ce8 Mon Sep 17 00:00:00 2001 From: Sudara Date: Tue, 26 Dec 2023 21:38:13 +0100 Subject: [PATCH 1/2] Add sccache, increase timeout to 2 min --- .github/workflows/ci.yml | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 4d3ec46..df25d0b 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,7 +57,7 @@ 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 & From fec04dff9928726a61744af0d9229e8bfef881e4 Mon Sep 17 00:00:00 2001 From: Sudara Date: Tue, 26 Dec 2023 22:10:26 +0100 Subject: [PATCH 2/2] Only screenshot windows for now --- .github/workflows/ci.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index df25d0b..7c6d46c 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -63,5 +63,6 @@ jobs: ./Debug/${{ matrix.app }}.exe & - uses: OrbitalOwen/desktop-screenshot-action@0.1 + if: ${{ matrix.os == 'windows-latest' }} with: file-name: ${{ matrix.os }}-${{matrix.app}}.jpg