CI: standard build/test pipeline (wave-1 rollout; node-free checkouts, job timeout)
All checks were successful
build / build-test (push) Successful in 1m16s
All checks were successful
build / build-test (push) Successful in 1m16s
This commit is contained in:
parent
cc73fe62fc
commit
7026a0d556
1 changed files with 17 additions and 0 deletions
17
.gitea/workflows/build.yml
Normal file
17
.gitea/workflows/build.yml
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
name: build
|
||||
on: [push, workflow_dispatch]
|
||||
|
||||
jobs:
|
||||
build-test:
|
||||
runs-on: docker
|
||||
container: rust:1-bookworm
|
||||
timeout-minutes: 30
|
||||
steps:
|
||||
- name: Checkout
|
||||
run: git clone --depth 1 ${{ github.server_url }}/${{ github.repository }}.git .
|
||||
|
||||
- name: Build
|
||||
run: cargo build --workspace
|
||||
|
||||
- name: Test
|
||||
run: cargo test --workspace --quiet
|
||||
Loading…
Add table
Add a link
Reference in a new issue