Skip to content

Commit

Permalink
Add sccache, increase timeout to 2 min
Browse files Browse the repository at this point in the history
  • Loading branch information
sudara committed Dec 26, 2023
1 parent d048df2 commit f4f5263
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,15 +28,18 @@ 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
uses: actions/checkout@v3
with:
fetch-depth: 1

- name: Run sccache-cache
uses: mozilla-actions/[email protected]

- name: Configure
run: cmake -B Builds -DTARGET_NAME:STRING=${{ matrix.app }}

Expand All @@ -46,15 +49,15 @@ 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 }} &
- 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 &
Expand Down

0 comments on commit f4f5263

Please sign in to comment.