From 400f1e8fb984c2175cf91348aebdcf16ec1677cf Mon Sep 17 00:00:00 2001 From: Dorian Kostecki Date: Wed, 3 Jan 2024 20:32:56 +0100 Subject: [PATCH] Checkout submodules recursively --- .github/workflows/ci.yml | 35 ++++++++++++++++++++++++++++++++++- 1 file changed, 34 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 7cf4534..203a12d 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -16,7 +16,40 @@ jobs: steps: - uses: actions/checkout@v4 with: - submodules: true + name: CI + +on: [push, pull_request] + +env: + CARGO_TERM_COLOR: always + +jobs: + build: + strategy: + matrix: + configuration: [Debug, Release] + + runs-on: windows-latest + + steps: + - uses: actions/checkout@v4 + with: + submodules: 'recursive' + + - name: Install .NET + uses: actions/setup-dotnet@v3 + with: + dotnet-version: 8.0.x + + - name: Install MSBuild + uses: microsoft/setup-msbuild@v1 + + - name: Configure + run: cmake -B ${{github.workspace}}/build -DCMAKE_BUILD_TYPE=${{matrix.configuration}} + + - name: Build + run: cmake --build ${{github.workspace}}/build + - name: Install .NET uses: actions/setup-dotnet@v3