From 62be0e0476944a36aa39ee8d23b8be1848a2ad05 Mon Sep 17 00:00:00 2001 From: Rohan Sircar <47449547+rohan-sircar@users.noreply.github.com> Date: Thu, 29 Apr 2021 22:15:52 +0530 Subject: [PATCH] add symlink for powerpc gcc and linker env --- .github/workflows/ci.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index e236833..048e7e9 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -124,12 +124,16 @@ jobs: target key: ${{ runner.os }}-powerpc64-unknown-linux-gnu-cargo-${{ hashFiles('**/Cargo.lock') }} - name: Install PowerPC gcc - run: sudo apt-get install -y gcc-powerpc64-linux-gnu + run: | + sudo apt-get install -y gcc-powerpc64-linux-gnu + sudo ln -s /usr/bin/powerpc64-linux-gnu-gcc-7 /usr/bin/powerpc-linux-gnu-gcc - name: Compile uses: actions-rs/cargo@v1 with: command: build args: --release --target=powerpc64-unknown-linux-gnu + env: + RUSTFLAGS: "-C linker=powerpc64-linux-gnu-gcc-7" publish-docker: name: Build and Publish Docker Image