-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #12 from linux-on-ibm-z/byte_order_fix
Fix the endianness detection The current BYTE_ORDER check is not detecting big endian correctly and test failures were observed because of this. With this fix, all tests pass on s390x(big endian). Also this does not affect amd64 results.
- Loading branch information
Showing
2 changed files
with
25 additions
and
2 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 |
---|---|---|
|
@@ -82,3 +82,26 @@ jobs: | |
run: | | ||
pip install --user codecov | ||
/home/runner/.local/bin/codecov | ||
test-on-s390x: | ||
runs-on: ubuntu-22.04 | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- name: Setup emulator | ||
run: | | ||
sudo docker run --rm --privileged tonistiigi/binfmt:qemu-v6.2.0 | ||
- name: Run build | ||
uses: uraimo/[email protected] | ||
with: | ||
arch: s390x | ||
distro: ubuntu22.04 | ||
install: | | ||
apt-get update -y | ||
DEBIAN_FRONTEND=noninteractive apt-get install -y rebar3 gcc libssl-dev | ||
run: | | ||
echo "---rebar3 as test get-deps---" | ||
rebar3 as test get-deps | ||
echo "---rebar3 as test compile---" | ||
rebar3 as test compile | ||
echo "---rebar3 as test ct---" | ||
rebar3 as test ct |
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