mirror of
https://github.com/asterinas/asterinas.git
synced 2025-06-15 16:26:48 +00:00
Add github workflow config
This commit is contained in:
parent
37c7a99896
commit
bb5e9a2e97
21
.github/workflows/cargo_check.yml
vendored
Normal file
21
.github/workflows/cargo_check.yml
vendored
Normal file
@ -0,0 +1,21 @@
|
|||||||
|
name: Cargo check
|
||||||
|
|
||||||
|
on:
|
||||||
|
pull_request:
|
||||||
|
push:
|
||||||
|
branches:
|
||||||
|
- main
|
||||||
|
- releases/*
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
test:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
container: jinuxdev/jinux:0.1.0
|
||||||
|
steps:
|
||||||
|
- run: echo "Running in jinuxdev/jinux:0.1.0"
|
||||||
|
|
||||||
|
- uses: actions/checkout@v3
|
||||||
|
|
||||||
|
- name: Check
|
||||||
|
id: check
|
||||||
|
run: make check
|
21
.github/workflows/syscall_test.yml
vendored
Normal file
21
.github/workflows/syscall_test.yml
vendored
Normal file
@ -0,0 +1,21 @@
|
|||||||
|
name: Syscall test
|
||||||
|
|
||||||
|
on:
|
||||||
|
pull_request:
|
||||||
|
push:
|
||||||
|
branches:
|
||||||
|
- main
|
||||||
|
- releases/*
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
test:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
container: jinuxdev/jinux:0.1.0
|
||||||
|
steps:
|
||||||
|
- run: echo "Running in jinuxdev/jinux:0.1.0"
|
||||||
|
|
||||||
|
- uses: actions/checkout@v3
|
||||||
|
|
||||||
|
- name: Syscall Test
|
||||||
|
id: syscall_test
|
||||||
|
run: make syscall_test ENABLE_KVM=false
|
Loading…
x
Reference in New Issue
Block a user