Skip to content

Commit

Permalink
fix workflow windows
Browse files Browse the repository at this point in the history
  • Loading branch information
nicolas-f committed Oct 1, 2024
1 parent 0e5a225 commit 47af375
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion .github/workflows/sub_buildWindows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ jobs:
runs-on: windows-latest
continue-on-error: ${{ inputs.allowedToFail }}
env:
CPM_SOURCE_CACHE: ~/.cache/CPM
CCACHE_DIR: C:/ISIMPA/cache/
CCACHE_COMPILERCHECK: "%compiler%" # default:mtime
CCACHE_MAXSIZE: 1G
Expand Down Expand Up @@ -76,6 +77,12 @@ jobs:
mkdir ${{ env.logdir }}
mkdir ${{ env.reportdir }}
echo "reportFile=${{ env.reportfilename }}" >> $GITHUB_OUTPUT
- name: Cache CPM dependency packages
uses: actions/cache@v3
with:
path: |
${{ env.CPM_SOURCE_CACHE }}
key: ${{ runner.os }}-isimpa
- name: Get Ccache
uses: ./.github/workflows/actions/windows/getCcache
with:
Expand All @@ -101,7 +108,7 @@ jobs:
- name: Configuring CMake
run: >
cmake -B"${{ env.builddir }}" .
--preset release
-DCPM_SOURCE_CACHE=${{ env.CPM_SOURCE_CACHE }}
-DCMAKE_VS_NO_COMPILE_BATCHING=ON
-DCMAKE_BUILD_TYPE=Release
-DISIMPA_LIBPACK_DIR="${{ env.libpackdir }}"
Expand Down

0 comments on commit 47af375

Please sign in to comment.