-
Notifications
You must be signed in to change notification settings - Fork 61
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
WIP: fix endianness of non-native 128-bit integers
- Loading branch information
Showing
13 changed files
with
247 additions
and
257 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 |
---|---|---|
|
@@ -15,6 +15,8 @@ permissions: | |
env: | ||
# Enable backtraces for easier debugging | ||
RUST_BACKTRACE: 1 | ||
# TODO: remove when confish.sh is removed. | ||
OVERWRITE_TARGET_TRIPLE: m68k-unknown-linux-gnu | ||
|
||
jobs: | ||
build: | ||
|
@@ -122,6 +124,7 @@ jobs: | |
} | ||
EOF | ||
mkdir vm | ||
pwd # TODO: remove | ||
sudo mount debian-m68k.img vm | ||
m68k-unknown-linux-gnu-gcc main.c -o main | ||
sudo cp main vm/home/main | ||
|
@@ -140,20 +143,16 @@ jobs: | |
- name: Build | ||
run: | | ||
./y.sh prepare --only-libcore | ||
# TODO: move into prepare command under a flag --cross-patches? | ||
pushd build_sysroot/sysroot_src | ||
git am ../../cross_patches/*.patch | ||
popd | ||
./build.sh | ||
cargo test | ||
./y.sh prepare --only-libcore --cross | ||
./y.sh build --target-triple m68k-unknown-linux-gnu | ||
CG_GCC_TEST_TARGET=m68k-unknown-linux-gnu cargo test | ||
./clean_all.sh | ||
- name: Prepare dependencies | ||
run: | | ||
git config --global user.email "[email protected]" | ||
git config --global user.name "User" | ||
./y.sh prepare | ||
./y.sh prepare --cross | ||
# Compile is a separate step, as the actions-rs/cargo action supports error annotations | ||
- name: Compile | ||
|
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
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
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
Oops, something went wrong.