This commit is contained in:
Rohan Sircar 2021-05-01 20:01:58 +05:30
commit 226d3cde4f

View File

@ -124,12 +124,16 @@ jobs:
target target
key: ${{ runner.os }}-powerpc64-unknown-linux-gnu-cargo-${{ hashFiles('**/Cargo.lock') }} key: ${{ runner.os }}-powerpc64-unknown-linux-gnu-cargo-${{ hashFiles('**/Cargo.lock') }}
- name: Install PowerPC gcc - name: Install PowerPC gcc
run: sudo apt-get install -y gcc-powerpc-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 - name: Compile
uses: actions-rs/cargo@v1 uses: actions-rs/cargo@v1
with: with:
command: build command: build
args: --release --target=powerpc64-unknown-linux-gnu args: --release --target=powerpc64-unknown-linux-gnu
env:
RUSTFLAGS: "-C linker=powerpc64-linux-gnu-gcc-7"
publish-docker: publish-docker:
name: Build and Publish Docker Image name: Build and Publish Docker Image