build(deps): bump hendrikmuhs/ccache-action from 1.2.11 to 1.2.12 #84
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
name: Build & Test | |
on: | |
push: | |
branches: [main] | |
tags: | |
- v** | |
merge_group: | |
pull_request: | |
workflow_dispatch: | |
permissions: | |
contents: read | |
concurrency: | |
group: ${{ github.ref }}-${{ github.workflow }} | |
cancel-in-progress: true | |
env: | |
GTEST_COLOR: 1 | |
jobs: | |
build-windows: | |
name: Windows Host Build | |
runs-on: [ubuntu-latest] | |
container: ghcr.io/philips-software/amp-devcontainer@sha256:2d052e0bcb3840ea45aaa21ea6904f6d84b0e310c97e5690a6d48da522ec384e #v4.0.2 | |
steps: | |
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 #v4.1.1 | |
- uses: actions/cache@13aacd865c20de90d75de3b17ebe84f7a17d57d2 # v4.0.0 | |
id: cache-winsdk | |
with: | |
path: /winsdk | |
key: cache-winsdk | |
- if: ${{ steps.cache-winsdk.outputs.cache-hit != 'true' }} | |
run: ./get-winsdk.sh | |
- uses: hendrikmuhs/ccache-action@faf867a11c028c0b483fb2ae72b6fc8f7d842714 #v1.2.12 | |
with: | |
key: ${{ github.job }} | |
max-size: 2G | |
- run: | | |
cmake --preset=Windows | |
cmake --build --preset=Windows-Release | |
build-linux: | |
name: Linux Host Build | |
runs-on: [ubuntu-latest] | |
container: ghcr.io/philips-software/amp-devcontainer@sha256:2d052e0bcb3840ea45aaa21ea6904f6d84b0e310c97e5690a6d48da522ec384e #v4.0.2 | |
steps: | |
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 #v4.1.1 | |
- uses: hendrikmuhs/ccache-action@faf867a11c028c0b483fb2ae72b6fc8f7d842714 #v1.2.12 | |
with: | |
key: ${{ github.job }} | |
max-size: 2G | |
- run: | | |
cmake --preset=Host | |
cmake --build --preset=Host-Release | |
ctest --preset=Host-Release | |
test-linux: | |
name: Linux Host Test | |
runs-on: [ubuntu-latest] | |
permissions: | |
contents: read | |
issues: read | |
checks: write | |
pull-requests: write | |
container: ghcr.io/philips-software/amp-devcontainer@sha256:2d052e0bcb3840ea45aaa21ea6904f6d84b0e310c97e5690a6d48da522ec384e #v4.0.2 | |
steps: | |
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 #v4.1.1 | |
- uses: hendrikmuhs/ccache-action@faf867a11c028c0b483fb2ae72b6fc8f7d842714 #v1.2.12 | |
with: | |
key: ${{ github.job }} | |
max-size: 2G | |
- run: | | |
cmake --preset=Host | |
cmake --build --preset=Host-Debug | |
bats --formatter junit test/test.bats | tee test-report.xml | |
- uses: EnricoMi/publish-unit-test-result-action@e780361cd1fc1b1a170624547b3ffda64787d365 # v2.12.0 | |
if: always() | |
with: | |
files: test-report.xml |