CI: add rust/ build+test workflow
All checks were successful
build / build-test (push) Successful in 39s
All checks were successful
build / build-test (push) Successful in 39s
This commit is contained in:
parent
1da6aa35a0
commit
9cd8e2f717
27 changed files with 5774 additions and 8 deletions
19
.gitea/workflows/build.yml
Normal file
19
.gitea/workflows/build.yml
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
name: build
|
||||
on: [push, workflow_dispatch]
|
||||
|
||||
jobs:
|
||||
build-test:
|
||||
runs-on: docker
|
||||
container: rust:1-bookworm
|
||||
timeout-minutes: 15
|
||||
steps:
|
||||
- name: Checkout
|
||||
run: git clone --depth 1 ${{ github.server_url }}/${{ github.repository }}.git .
|
||||
|
||||
- name: Build (rust/)
|
||||
run: cargo build --quiet
|
||||
working-directory: rust
|
||||
|
||||
- name: Test (rust/)
|
||||
run: cargo test --quiet
|
||||
working-directory: rust
|
||||
Loading…
Add table
Add a link
Reference in a new issue