16 lines
402 B
YAML
16 lines
402 B
YAML
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
|