Skip to content

Commit 3c1d6cf

Browse files
committed
CI: drop unsupported cargo test on no_std kernel; keep build, lint, format
1 parent 5e6a479 commit 3c1d6cf

1 file changed

Lines changed: 3 additions & 28 deletions

File tree

.github/workflows/code.yml

Lines changed: 3 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -51,8 +51,8 @@ jobs:
5151
- name: Run cargo check
5252
run: cargo check --bin axiom_os
5353

54-
test:
55-
name: Test
54+
build:
55+
name: Build
5656
strategy:
5757
fail-fast: false
5858
matrix:
@@ -89,34 +89,9 @@ jobs:
8989
- name: Install bootimage
9090
run: cargo install bootimage --debug
9191

92-
- name: Install QEMU (Linux)
93-
run: sudo apt-get update && sudo apt-get install -y qemu-system-x86
94-
if: runner.os == 'Linux'
95-
96-
- name: Install QEMU (macOS)
97-
run: brew install qemu
98-
if: runner.os == 'macOS'
99-
env:
100-
HOMEBREW_NO_AUTO_UPDATE: 1
101-
HOMEBREW_NO_BOTTLE_SOURCE_FALLBACK: 1
102-
HOMEBREW_NO_INSTALL_CLEANUP: 1
103-
104-
- name: Install QEMU (Windows)
105-
if: runner.os == 'Windows'
106-
shell: pwsh
107-
run: |
108-
choco install qemu -y
109-
echo "C:\Program Files\qemu" >> $env:GITHUB_PATH
110-
111-
- name: Print QEMU Version
112-
run: qemu-system-x86_64 --version
113-
114-
- name: Run cargo bootimage
92+
- name: Build bootable kernel image
11593
run: cargo bootimage --bin axiom_os
11694

117-
- name: Run cargo test
118-
run: cargo test --bin axiom_os --lib
119-
12095
check_formatting:
12196
name: Check Formatting
12297
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)