Merge branch 'main' of https://github.com/rohan-sircar/actix-demo
This commit is contained in:
commit
226d3cde4f
6
.github/workflows/ci.yml
vendored
6
.github/workflows/ci.yml
vendored
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user