Skip to content

Commit

Permalink
Merge pull request #95 from sudara/sccache
Browse files Browse the repository at this point in the history
sccache
  • Loading branch information
sudara authored Dec 26, 2023
2 parents d048df2 + fec04df commit 3d9b8ad
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 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,19 +49,20 @@ 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 &
- uses: OrbitalOwen/[email protected]
if: ${{ matrix.os == 'windows-latest' }}
with:
file-name: ${{ matrix.os }}-${{matrix.app}}.jpg

0 comments on commit 3d9b8ad

Please sign in to comment.