forked from mit-pdos/xv6-public
-
Notifications
You must be signed in to change notification settings - Fork 0
48 lines (37 loc) · 1.04 KB
/
Copy pathci.yml
File metadata and controls
48 lines (37 loc) · 1.04 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
name: CI
on:
push:
branches: [main]
pull_request:
branches: [main]
workflow_dispatch:
permissions:
contents: read
concurrency:
group: ci-${{ github.ref }}
cancel-in-progress: true
jobs:
verify:
name: Repository and cumulative kernel verification
runs-on: ubuntu-latest
timeout-minutes: 30
steps:
- name: Check out repository
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Install xv6 toolchain and QEMU
run: |
sudo apt-get update
sudo apt-get install --yes --no-install-recommends \
build-essential gcc-multilib make perl python3 qemu-system-x86
- name: Check dependencies
run: make setup
- name: Check repository structure and source invariants
run: make lint
- name: Run fast regression tests
run: make test
- name: Rebuild cumulative source, dist, and counter modes
run: make verify-build
- name: Run cumulative guest smoke test
run: make smoke CPUS=2