Add github workflow config

This commit is contained in:
Zhang Junyang 2023-08-02 10:13:02 +08:00 committed by Tate, Hongliang Tian
parent 37c7a99896
commit bb5e9a2e97
2 changed files with 42 additions and 0 deletions

21
.github/workflows/cargo_check.yml vendored Normal file
View 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
View 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