CI: Forgejo-Actions-Workflow (cargo check + test)
Some checks are pending
ci / check (push) Waiting to run
Some checks are pending
ci / check (push) Waiting to run
This commit is contained in:
parent
52b68cf3b9
commit
1d6dc63dae
1 changed files with 16 additions and 0 deletions
16
.forgejo/workflows/ci.yml
Normal file
16
.forgejo/workflows/ci.yml
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
name: ci
|
||||
on: [push, pull_request]
|
||||
|
||||
jobs:
|
||||
check:
|
||||
runs-on: self-hosted
|
||||
steps:
|
||||
- name: Checkout
|
||||
run: |
|
||||
git clone --depth 1 "$GITHUB_SERVER_URL/jan/rusty_emu.git" repo
|
||||
cd repo && git checkout "$GITHUB_SHA"
|
||||
|
||||
- name: Cargo check + test
|
||||
run: |
|
||||
cargo check --manifest-path repo/Cargo.toml
|
||||
cargo test --manifest-path repo/Cargo.toml
|
||||
Loading…
Add table
Add a link
Reference in a new issue