-
Notifications
You must be signed in to change notification settings - Fork 215
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Move test kernels to a separate workspace
The test kernels need to be built for a different target and we don't want to unify dependency features with the main packages (as this can lead to enabled `std` features).
- Loading branch information
Showing
6 changed files
with
163 additions
and
19 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 |
---|---|---|
|
@@ -25,6 +25,9 @@ jobs: | |
- uses: r7kamura/[email protected] | ||
- name: "Run `cargo check`" | ||
run: cargo check --all-targets --all | ||
- name: "Check test kernels" | ||
run: cargo check --all | ||
working-directory: tests/test_kernels | ||
- name: "Check docs.rs build" | ||
run: cargo check | ||
env: | ||
|
@@ -89,6 +92,8 @@ jobs: | |
- uses: actions/checkout@v3 | ||
- uses: r7kamura/[email protected] | ||
- run: cargo fmt --all -- --check | ||
- run: cargo fmt --all -- --check | ||
working-directory: tests/test_kernels | ||
|
||
clippy: | ||
name: Clippy | ||
|
@@ -99,6 +104,8 @@ jobs: | |
- uses: Swatinem/rust-cache@v2 | ||
- uses: r7kamura/[email protected] | ||
- run: cargo clippy --all --all-targets | ||
- run: cargo clippy --all | ||
working-directory: tests/test_kernels | ||
|
||
semver-checks: | ||
name: Semver Checks | ||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,3 @@ | ||
[build] | ||
target-dir = "../../target" | ||
target = "x86_64-unknown-none" |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
[workspace] | ||
resolver = "2" | ||
members = [ | ||
"default_settings", | ||
"map_phys_mem", | ||
"higher_half", | ||
"pie", | ||
"lto", | ||
"ramdisk", | ||
"min_stack", | ||
"lower_memory_free", | ||
"write_usable_memory", | ||
] |