initial version

This commit is contained in:
sijie.sun
2025-01-10 23:03:37 +08:00
commit 519386124c
10 changed files with 125 additions and 0 deletions
+32
View File
@@ -0,0 +1,32 @@
name: Rust
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
env:
CARGO_TERM_COLOR: always
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@master
- name: Checkout submodules
uses: srt32/git-actions@v0.0.3
with:
args: git submodule update --init --recursive
- name: Set up Clang
uses: egor-tensin/setup-clang@v1
with:
version: latest
platform: x64
- name: Build
run: cargo build --verbose
- name: Run tests
run: cargo test --verbose