Unverified Commit ffb13f87 authored by Jonathan Schwender's avatar Jonathan Schwender
Browse files

aarch64: Add test of rusty-loader

This test compiles the rusty-loader with an application artifact compiled from
https://github.com/jschwe/libhermit-rs/commit/f5faa6d059f29e6a4d28a8872acf639c64d3a6ae


The artifact is technically the rusty_demo artifact, since the hello_world artifact
didn't work for me.
This is most likely due to the loader still being brittle.
I suspect that the copying process is buggy, since (un)commenting simple things
such as log messages in rusty-loader will break or fix entry into the kernel.
Until this is fixed this workflow will probably fail sometimes.
Signed-off-by: default avatarJonathan Schwender <schwenderjonathan@gmail.com>
parent 3644e330
...@@ -49,3 +49,6 @@ jobs: ...@@ -49,3 +49,6 @@ jobs:
if: ${{ matrix.os == 'macOS-latest' }} if: ${{ matrix.os == 'macOS-latest' }}
- name: Build loader (unix) - name: Build loader (unix)
run: make arch=aarch64 run: make arch=aarch64
- name: Test loader
run: qemu-system-aarch64 -display none -smp 4 -m 1G -serial stdio -kernel target/aarch64-unknown-hermit-loader/debug/rusty-loader -machine raspi3 -semihosting
timeout-minutes: 1
...@@ -13,7 +13,7 @@ endif ...@@ -13,7 +13,7 @@ endif
# Todo - make this feature toggleable # Todo - make this feature toggleable
ifeq ($(arch), aarch64) ifeq ($(arch), aarch64)
opt += --features "aarch64-qemu-stdout" opt += --features "aarch64-qemu-stdout"
export HERMIT_APP ?= "$(PWD)/data/hello_world" export HERMIT_APP ?= "$(PWD)/data/hello_world_aarch64"
endif endif
CONVERT := CONVERT :=
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment