-
Notifications
You must be signed in to change notification settings - Fork 21
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: update CI for different monolithic testcase
- Loading branch information
1 parent
9a97f7e
commit 0b66290
Showing
6 changed files
with
180 additions
and
141 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -36,7 +36,8 @@ jobs: | |
- name: Run app tests | ||
run: | | ||
make disk_img | ||
make pre_libc && make test ARCH=${{ matrix.arch }} | ||
make pre_libc | ||
make test ARCH=${{ matrix.arch }} | ||
app-test-for-monolithic: | ||
runs-on: ${{ matrix.os }} | ||
|
@@ -66,4 +67,35 @@ jobs: | |
- name: Run app tests | ||
run: | | ||
make disk_img | ||
make test_monolithic ARCH=${{ matrix.arch }} | ||
make test_monolithic ARCH=${{ matrix.arch }} | ||
app-test-for-ext4fs: | ||
runs-on: ${{ matrix.os }} | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
os: [ubuntu-latest] | ||
arch: [x86_64, riscv64, aarch64] | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- uses: actions-rs/toolchain@v1 | ||
with: | ||
profile: minimal | ||
toolchain: ${{ env.rust-toolchain }} | ||
components: rust-src | ||
- uses: actions-rs/[email protected] | ||
with: | ||
crate: cargo-binutils | ||
version: latest | ||
use-tool-cache: true | ||
- uses: ./.github/workflows/actions/setup-qemu | ||
with: | ||
qemu-version: ${{ env.qemu-version }} | ||
- uses: ./.github/workflows/actions/setup-musl | ||
with: | ||
arch: ${{ matrix.arch }} | ||
- name: Run app tests | ||
run: | | ||
sh ./build_img.sh -m ${{ matrix.arch }} -fs ext4 | ||
make pre_libc | ||
export MONOLITHIC_TESTCASE=other | ||
make A=apps/monolithic_userboot APP_FEATURES=batch FEATURES="ext4fs" LOG=off run |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.