Skip to content

Commit

Permalink
Setup CI (#1)
Browse files Browse the repository at this point in the history
  • Loading branch information
thatbakamono authored Jan 3, 2024
1 parent 9320e5d commit 989c2cb
Showing 1 changed file with 33 additions and 0 deletions.
33 changes: 33 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
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

0 comments on commit 989c2cb

Please sign in to comment.