-
-
Notifications
You must be signed in to change notification settings - Fork 131
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Temp] Create a temporary s390x environment
- Loading branch information
Showing
1 changed file
with
28 additions
and
0 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 |
---|---|---|
@@ -0,0 +1,28 @@ | ||
on: | ||
pull_request: | ||
|
||
jobs: | ||
tests: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
# Using my fork because there seems to be a bug where it couldn't find `s390x/fedora:latest` | ||
- uses: LecrisUT/run-on-arch-action@fix/arch-flag | ||
with: | ||
distro: none | ||
arch: s390x | ||
base_image: "s390x/fedora:latest" | ||
run: | | ||
echo "::group::Debug stuff" | ||
# Double-check we are in the appropriate environment | ||
uname -a | ||
echo "::endgroup::" | ||
echo "::group::Install rust environment" | ||
dnf install -y cargo | ||
echo "::endgroup::" | ||
echo "::group::Run cargo test" | ||
# TODO: Help me with this section | ||
cargo test --workspace --verbose | ||
echo "::endgroup::" |