-
Notifications
You must be signed in to change notification settings - Fork 699
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add CMake workflow for Windows ARM64 support
Created a new GitHub Actions workflow for building and testing CMake projects on Windows ARM64. This includes a matrix strategy for different C++ versions (11, 14, 17, 20) and updates the existing CMake configuration to streamline the build process. Removed conditional architecture checks in the previous workflow to simplify the configuration steps.
- Loading branch information
Showing
2 changed files
with
32 additions
and
17 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
name: CMake Windows ARM64 | ||
|
||
on: | ||
push: | ||
pull_request: | ||
|
||
env: | ||
BUILD_TYPE: Release | ||
|
||
jobs: | ||
build-windows-arm64: | ||
runs-on: windows-2022 | ||
strategy: | ||
matrix: | ||
cpp_version: [11, 14, 17, 20] | ||
|
||
steps: | ||
- uses: actions/checkout@v2 | ||
with: | ||
submodules: recursive | ||
|
||
- name: Configure CMake | ||
shell: bash | ||
run: cmake -B ${{github.workspace}}/build -A ARM64 -DBUILD_TESTING=ON -DCMAKE_CXX_STANDARD=${{matrix.cpp_version}} -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}} | ||
|
||
- name: Build | ||
run: cmake --build ${{github.workspace}}/build --config ${{env.BUILD_TYPE}} | ||
|
||
- name: Test | ||
working-directory: ${{github.workspace}}/build | ||
run: ctest -C ${{env.BUILD_TYPE}} --verbose |
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