Skip to content

Commit 400f1e8

Browse files
authored
Checkout submodules recursively
1 parent 05a158d commit 400f1e8

File tree

1 file changed

+34
-1
lines changed

1 file changed

+34
-1
lines changed

.github/workflows/ci.yml

Lines changed: 34 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,40 @@ jobs:
1616
steps:
1717
- uses: actions/checkout@v4
1818
with:
19-
submodules: true
19+
name: CI
20+
21+
on: [push, pull_request]
22+
23+
env:
24+
CARGO_TERM_COLOR: always
25+
26+
jobs:
27+
build:
28+
strategy:
29+
matrix:
30+
configuration: [Debug, Release]
31+
32+
runs-on: windows-latest
33+
34+
steps:
35+
- uses: actions/checkout@v4
36+
with:
37+
submodules: 'recursive'
38+
39+
- name: Install .NET
40+
uses: actions/setup-dotnet@v3
41+
with:
42+
dotnet-version: 8.0.x
43+
44+
- name: Install MSBuild
45+
uses: microsoft/setup-msbuild@v1
46+
47+
- name: Configure
48+
run: cmake -B ${{github.workspace}}/build -DCMAKE_BUILD_TYPE=${{matrix.configuration}}
49+
50+
- name: Build
51+
run: cmake --build ${{github.workspace}}/build
52+
2053

2154
- name: Install .NET
2255
uses: actions/setup-dotnet@v3

0 commit comments

Comments
 (0)