File tree Expand file tree Collapse file tree 1 file changed +41
-0
lines changed
Expand file tree Collapse file tree 1 file changed +41
-0
lines changed Original file line number Diff line number Diff line change 1+ name : CI
2+
3+ on :
4+ push :
5+ branches : [ main ]
6+ pull_request :
7+ branches : [ main ]
8+
9+ jobs :
10+ build :
11+ runs-on : ubuntu-latest
12+
13+ steps :
14+ - name : Check Out Repository
15+ uses : actions/checkout@v3
16+
17+ - name : Install QEMU
18+ run : |
19+ sudo apt-get update
20+ sudo apt-get install -y qemu-system-x86
21+
22+ - name : Setup Rust Nightly Toolchain
23+ uses : actions-rs/toolchain@v1
24+ with :
25+ toolchain : nightly
26+ override : true
27+ target : x86_64-unknown-none
28+
29+ - name : Add rust-src and llvm-tools-preview Components
30+ run : |
31+ rustup component add rust-src --toolchain nightly
32+ rustup component add llvm-tools-preview --toolchain nightly
33+
34+ - name : Install bootimage
35+ run : cargo install bootimage
36+
37+ - name : Build OS
38+ run : cargo build
39+
40+ - name : Run Unit Tests
41+ run : cargo test
You can’t perform that action at this time.
0 commit comments