File tree Expand file tree Collapse file tree 2 files changed +17
-0
lines changed
Expand file tree Collapse file tree 2 files changed +17
-0
lines changed Original file line number Diff line number Diff line change @@ -17,6 +17,7 @@ parallel build: {
1717 }
1818 stage("Unit tests") {
1919 shwrap("""
20+ dnf install -y grub2-tools-minimal
2021 cargo test
2122 """)
2223 }
Original file line number Diff line number Diff line change 3232 uses : dtolnay/rust-toolchain@v1
3333 with :
3434 toolchain : stable
35+ - name : Install grub2
36+ run : |
37+ set -xeu
38+ dnf install -y grub2-tools-minimal
3539 - name : Cache build artifacts
3640 uses : Swatinem/rust-cache@v2
3741 - name : cargo build
4953 uses : dtolnay/rust-toolchain@v1
5054 with :
5155 toolchain : stable
56+ - name : Install grub2
57+ run : |
58+ set -xeu
59+ dnf install -y grub2-tools-minimal
5260 - name : Cache build artifacts
5361 uses : Swatinem/rust-cache@v2
5462 - name : cargo build (release)
7482 toolchain : ${{ env.MSRV }}
7583 - name : Cache build artifacts
7684 uses : Swatinem/rust-cache@v2
85+ - name : Install grub2
86+ run : |
87+ set -xeu
88+ dnf install -y grub2-tools-minimal
7789 - name : cargo build (release)
7890 run : cargo build --all-targets --release
7991 - name : cargo test (release)
@@ -111,6 +123,10 @@ jobs:
111123 uses : dtolnay/rust-toolchain@v1
112124 with :
113125 toolchain : ${{ matrix.channel }}
126+ - name : Install grub2
127+ run : |
128+ set -xeu
129+ dnf install -y grub2-tools-minimal
114130 - name : Cache build artifacts
115131 uses : Swatinem/rust-cache@v2
116132 - name : cargo build
You can’t perform that action at this time.
0 commit comments