Skip to content

Commit

Permalink
ci: Add github actions ci.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
kanru committed May 19, 2024
1 parent bcab889 commit c67ed8a
Showing 1 changed file with 35 additions and 0 deletions.
35 changes: 35 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
name: CI

on:
push:
branches: ["master"]
pull_request:
branches: ["master"]
merge_group:
types: [checks_requested]

env:
RUST_VERSION: "1.70"

jobs:
build:
runs-on: windows-latest
name: Smoke test - build only

steps:
- uses: actions/checkout@v4

- if: ${{ matrix.os == 'windows-latest' }}
run: choco install ninja
- if: ${{ matrix.os == 'windows-latest' }}
uses: ilammy/msvc-dev-cmd@0b201ec74fa43914dc39ae48a89fd1d8cb592756

- name: Setup rustup
run: |
rustup default ${{ env.RUST_VERSION }}
rustup update
- name: Build
run: |
cmake -B build
cmake --build build

0 comments on commit c67ed8a

Please sign in to comment.