File tree Expand file tree Collapse file tree 1 file changed +9
-30
lines changed Expand file tree Collapse file tree 1 file changed +9
-30
lines changed Original file line number Diff line number Diff line change @@ -11,41 +11,20 @@ jobs:
1111 runs-on : ubuntu-latest
1212
1313 steps :
14- - name : Check out your kernel repo
14+ - name : Check out the code
1515 uses : actions/checkout@v2
16-
17- - name : Clone Rust with patch
18- run : |
19- git clone --depth=1 https://github.com/rust-lang/rust.git rust-patched
20- cd rust-patched
21- git fetch origin pull/143075/head:pr-143075 --depth=1
22- git checkout pr-143075
23-
24- - name : Install dependencies for building Rust
25- run : |
26- sudo apt-get update
27- sudo apt-get install -y build-essential curl python3 cmake ninja-build
28-
29- - name : Build patched Rust compiler (stage 1)
30- run : |
31- cd rust-patched
32- cp config.example.toml config.toml
33- ./x.py build --stage 1
34-
35- - name : Add patched rustc to PATH
36- run : |
37- echo "$(pwd)/rust-patched/build/x86_64-unknown-linux-gnu/stage1/bin" >> $GITHUB_PATH
38-
3916 - name : Install QEMU
4017 run : |
4118 sudo apt-get update
42- sudo apt-get install -y qemu-system-x86
43-
19+ sudo apt-get install qemu-system-x86
20+ - name : Set up Rust
21+ uses : actions-rs/toolchain@v1
22+ with :
23+ toolchain : nightly-2025-06-13
24+ components : rust-src, llvm-tools-preview
4425 - name : Install bootimage
4526 run : cargo install bootimage
46-
47- - name : Build your project
27+ - name : Install dependencies
4828 run : cargo build
49-
5029 - name : Run tests
51- run : cargo test
30+ run : cargo test
You can’t perform that action at this time.
0 commit comments