Skip to content

Commit

Permalink
Remove possibly broken args, install ccache
Browse files Browse the repository at this point in the history
  • Loading branch information
sethrj committed Apr 19, 2024
1 parent 91336a3 commit 21b8398
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 1 deletion.
16 changes: 15 additions & 1 deletion .github/workflows/build-ultralite.yml
Original file line number Diff line number Diff line change
Expand Up @@ -72,11 +72,21 @@ jobs:
steps:
- name: Install dependencies
run: |
choco --limit-output -y install ninja
choco install ninja ccache
- name: Check out Celeritas
uses: actions/checkout@v4
- name: Set up MSVC
uses: ilammy/msvc-dev-cmd@v1
- name: Cache ccache
uses: actions/cache@v4
with:
path: ${{env.CCACHE_DIR}}
key: ccache-ultralite-${{github.run_id}}
restore-keys: |
ccache-ultralite
- name: Zero ccache stats
run: |
ccache -z
- name: Configure Celeritas
shell: pwsh
run: |
Expand All @@ -91,5 +101,9 @@ jobs:
- name: Test all
run: |
ctest --preset=$Env:CMAKE_PRESET
- name: Show ccache stats
if: ${{!cancelled()}}
run: |
ccache -s
# vim: set nowrap tw=100:
1 change: 1 addition & 0 deletions scripts/cmake-presets/ci-windows-github.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@
"CELERITAS_USE_SWIG": {"type": "BOOL", "value": "OFF"},
"CELERITAS_USE_VecGeom": {"type": "BOOL", "value": "OFF"},
"CMAKE_BUILD_TYPE": "Release",
"CMAKE_CXX_COMPILER_LAUNCHER": "ccache",
"CMAKE_CXX_EXTENSIONS": {"type": "BOOL", "value": "OFF"},
"CMAKE_CXX_FLAGS": "/W2 /WX",
"CMAKE_CXX_STANDARD": "17",
Expand Down

0 comments on commit 21b8398

Please sign in to comment.