Skip to content

Commit 3021598

Browse files
committed
Specify the linker when building the test project in m68k CI
1 parent fec79b8 commit 3021598

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/m68k.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -109,8 +109,8 @@ jobs:
109109
./y.sh build --target-triple m68k-unknown-linux-gnu
110110
111111
cd tests/hello-world
112-
../../y.sh cargo build --target m68k-unknown-linux-gnu
113-
../../y.sh cargo run --target m68k-unknown-linux-gnu > hello_world_stdout
112+
CG_RUSTFLAGS="-Clinker=m68k-unknown-linux-gnu-gcc" ../../y.sh cargo build --target m68k-unknown-linux-gnu
113+
CG_RUSTFLAGS="-Clinker=m68k-unknown-linux-gnu-gcc" ../../y.sh cargo run --target m68k-unknown-linux-gnu > hello_world_stdout
114114
test $(cat hello_world_stdout) == "Hello, world!" || exit 1
115115
116116
# Summary job for the merge queue.

0 commit comments

Comments
 (0)