Skip to content

Commit

Permalink
update cmake to latest nightly build
Browse files Browse the repository at this point in the history
  • Loading branch information
huangqinjin committed May 12, 2024
1 parent 22ddef6 commit 41d1ab4
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,9 @@ jobs:
ln -s /usr/bin/g++-14 /usr/local/bin/g++
mkdir $HOME/.wine # wine: '/github/home' is not owned by you, refusing to create a configuration directory there
curl -o cmake.sh -fsSL https://cmake.org/files/dev/cmake-3.29.20240511-gf891d5c-linux-x86_64.sh
chmod +x cmake.sh && ./cmake.sh --skip-license --prefix=/usr/local
- name: Checkout msvc-wine
uses: actions/checkout@v4
with:
Expand Down Expand Up @@ -75,6 +78,9 @@ jobs:
%1.bat
"@
Invoke-WebRequest -OutFile cmake.msi https://cmake.org/files/dev/cmake-3.29.20240511-gf891d5c-windows-x86_64.zip
Start-Process -NoNewWindow -Wait msiexec "/i cmake.msi /qn"
- uses: msys2/setup-msys2@v2
with:
msystem: MSYS
Expand Down
1 change: 1 addition & 0 deletions CMakePresets.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
"generator": "Ninja Multi-Config",
"binaryDir": "${sourceDir}/cmake-build-${presetName}",
"cacheVariables": {
"CMAKE_EXPERIMENTAL_CXX_IMPORT_STD": "0e5b6991-d74f-4b3d-a41c-cf096e0b2508",
"CMAKE_CXX_STANDARD": "23",
"CMAKE_EXPORT_COMPILE_COMMANDS": "ON"
}
Expand Down

0 comments on commit 41d1ab4

Please sign in to comment.