Debian Codegraph @

plugins/jieba/deps/cppjieba/.github/workflows/cmake-arm64.yml

raw symbols SCIP
1 name: CMake Windows ARM64
2
3 on:
4 push:
5 pull_request:
6 workflow_dispatch:
7
8 env:
9 BUILD_TYPE: Release
10
11 jobs:
12 build-windows-arm64:
13 runs-on: windows-2022
14 strategy:
15 matrix:
16 cpp_version: [11, 14, 17, 20]
17
18 steps:
19 - name: Check out repository code
20 uses: actions/checkout@v6
21
22 - name: Configure CMake
23 # Configure CMake in a 'build' subdirectory. `CMAKE_BUILD_TYPE` is only required if you are using a single-configuration generator such as make.
24 # See https://cmake.org/help/latest/variable/CMAKE_BUILD_TYPE.html?highlight=cmake_build_type
25 # run: cmake -B ${{github.workspace}}/build -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}}
26 run: cmake -B ${{github.workspace}}/build -DBUILD_TESTING=ON -DCMAKE_CXX_STANDARD=${{matrix.cpp_version}} -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}}
27
28 - name: Build
29 # Build your program with the given configuration
30 # run: cmake --build ${{github.workspace}}/build --config ${{env.BUILD_TYPE}}
31 run: cmake --build ${{github.workspace}}/build --config ${{env.BUILD_TYPE}}
32
33 - name: Test
34 working-directory: ${{github.workspace}}/build
35 # Execute tests defined by the CMake configuration.
36 # See https://cmake.org/help/latest/manual/ctest.1.html for more detail
37 run: ctest -C ${{env.BUILD_TYPE}} --verbose