add forgejo CI
Signed-off-by: Ava Affine <ava@sunnypup.io>
This commit is contained in:
parent
0476160ae3
commit
82ca425f44
1 changed files with 48 additions and 0 deletions
48
.forgejo/workflows/test.yml
Normal file
48
.forgejo/workflows/test.yml
Normal file
|
|
@ -0,0 +1,48 @@
|
|||
on: [push]
|
||||
jobs:
|
||||
build-components:
|
||||
runs-on: docker
|
||||
container: rustlang/rust:nightly
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- run: |
|
||||
cargo build --lib
|
||||
cargo build --bin decomposer
|
||||
|
||||
test-frontend:
|
||||
needs: [build]
|
||||
runs-on: docker
|
||||
container: rustlang/rust:nightly
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- cargo test lexer
|
||||
- cargo test parser
|
||||
|
||||
timed-decomposer-parse:
|
||||
needs: [test-frontend]
|
||||
runs-on: docker
|
||||
container: rustlang/rust:nightly
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- cargo build --bin decomposer
|
||||
- curl https://raw.githubusercontent.com/ecraven/r7rs-benchmarks/refs/heads/master/src/compiler.scm --output test.scm
|
||||
- cargo run --bin decomposer -- -t test.scm
|
||||
|
||||
test-utility:
|
||||
needs: [build]
|
||||
runs-on: docker
|
||||
container: rustlang/rust:nightly
|
||||
steps:
|
||||
- users: actions/checkout@v4
|
||||
- cargo test number
|
||||
- cargo test stackstack
|
||||
- cargo test hmap
|
||||
|
||||
test-backend:
|
||||
needs: [build]
|
||||
runs-on: docker
|
||||
container: rustlang/rust:nightly
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- cargo test util # this is instruction decoding code
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue