We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 87bd585 commit 427740cCopy full SHA for 427740c
.github/workflows/cmake.yml
@@ -23,11 +23,17 @@ jobs:
23
cpp_version: [11, 14, 17, 20]
24
build_type: [Release, Debug]
25
26
-
27
steps:
28
- - uses: actions/checkout@v2
+ - uses: actions/checkout@v3
29
with:
30
- submodules: recursive
+ submodules: true
+ fetch-depth: 0
31
+
32
+ - name: Update submodules
33
+ run: |
34
+ git submodule update --init --recursive --remote
35
+ cd submodules/cppjieba
36
+ git checkout master
37
38
- name: Configure CMake
39
run: cmake -B ${{github.workspace}}/build -DBUILD_TESTING=ON -DCMAKE_CXX_STANDARD=${{matrix.cpp_version}} -DCMAKE_BUILD_TYPE=${{matrix.build_type}}
0 commit comments