Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
K
kernel
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Analyze
Contributor analytics
CI/CD analytics
Repository analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
ACS
Public
HermitOS
kernel
Commits
6cd46e8d
Commit
6cd46e8d
authored
2 years ago
by
Martin Kröning
Browse files
Options
Downloads
Patches
Plain Diff
Omit implicit core,alloc from build-std
parent
cc279f40
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
.github/workflows/ci.yml
+4
-4
4 additions, 4 deletions
.github/workflows/ci.yml
.gitlab-ci.yml
+2
-2
2 additions, 2 deletions
.gitlab-ci.yml
with
6 additions
and
6 deletions
.github/workflows/ci.yml
+
4
−
4
View file @
6cd46e8d
...
...
@@ -120,7 +120,7 @@ jobs:
run
:
rustup show
-
uses
:
Swatinem/rust-cache@v2
-
name
:
Build dev profile
run
:
cargo build -Zbuild-std=
core,alloc,
std,panic_abort --target x86_64-unknown-hermit
run
:
cargo build -Zbuild-std=std,panic_abort --target x86_64-unknown-hermit
-
name
:
Download loader
uses
:
dsaltares/fetch-gh-release-asset@1.1.0
with
:
...
...
@@ -134,7 +134,7 @@ jobs:
-kernel rusty-loader-x86_64 \
-initrd target/x86_64-unknown-hermit/debug/rusty_demo
-
name
:
Build release profile
run
:
cargo build -Zbuild-std=
core,alloc,
std,panic_abort --target x86_64-unknown-hermit --release
run
:
cargo build -Zbuild-std=std,panic_abort --target x86_64-unknown-hermit --release
-
name
:
Test release profile
run
:
|
qemu-system-x86_64 -display none -smp 1 -m 128M -serial stdio \
...
...
@@ -143,7 +143,7 @@ jobs:
-kernel rusty-loader-x86_64 \
-initrd target/x86_64-unknown-hermit/release/rusty_demo
-
name
:
Build minimal profile
run
:
cargo build -Zbuild-std=
core,alloc,
std,panic_abort --target x86_64-unknown-hermit --no-default-features --release --package hello_world
run
:
cargo build -Zbuild-std=std,panic_abort --target x86_64-unknown-hermit --no-default-features --release --package hello_world
-
name
:
Test minimal profile
id
:
minimal
run
:
|
...
...
@@ -196,7 +196,7 @@ jobs:
run
:
rustup show
-
uses
:
Swatinem/rust-cache@v2
-
name
:
Build dev profile
run
:
cargo build -Zbuild-std=
core,alloc,
std,panic_abort --target aarch64-unknown-hermit --package hello_world
run
:
cargo build -Zbuild-std=std,panic_abort --target aarch64-unknown-hermit --package hello_world
-
run
:
rustup toolchain install nightly-2022-08-01 --target aarch64-unknown-none-softfloat --component llvm-tools-preview
-
name
:
Build loader
run
:
cargo +nightly-2022-08-01 xtask build --target aarch64
...
...
This diff is collapsed.
Click to expand it.
.gitlab-ci.yml
+
2
−
2
View file @
6cd46e8d
...
...
@@ -41,8 +41,8 @@ build:demo:
-
if [ -d "libhermit-rs" ]; then rm -rf libhermit-rs; fi
-
mkdir libhermit-rs
-
shopt -s dotglob nullglob && mv $HOME/tmp_libhermit-rs/* libhermit-rs/.
-
cargo build -Zbuild-std=
core,alloc,
std,panic_abort --target x86_64-unknown-hermit --package rusty_demo
-
cargo build -Zbuild-std=
core,alloc,
std,panic_abort --target x86_64-unknown-hermit --package rusty_demo --release
-
cargo build -Zbuild-std=std,panic_abort --target x86_64-unknown-hermit --package rusty_demo
-
cargo build -Zbuild-std=std,panic_abort --target x86_64-unknown-hermit --package rusty_demo --release
artifacts
:
paths
:
-
rusty-hermit/target/x86_64-unknown-hermit/debug/rusty_demo
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment