Testing workflow
Some checks failed
Multi-Platform Release Build / build (false, linux/arm64, native) (push) Successful in 10m34s
Multi-Platform Release Build / build (true, linux/amd64, x86_64-pc-windows-gnu) (push) Failing after 4m6s
Multi-Platform Release Build / build (true, linux/amd64, x86_64-unknown-linux-gnu) (push) Failing after 3m49s
Multi-Platform Release Build / create-release (push) Has been skipped
Some checks failed
Multi-Platform Release Build / build (false, linux/arm64, native) (push) Successful in 10m34s
Multi-Platform Release Build / build (true, linux/amd64, x86_64-pc-windows-gnu) (push) Failing after 4m6s
Multi-Platform Release Build / build (true, linux/amd64, x86_64-unknown-linux-gnu) (push) Failing after 3m49s
Multi-Platform Release Build / create-release (push) Has been skipped
This commit is contained in:
parent
a59a7ab7ce
commit
99f143fcc2
1 changed files with 1 additions and 8 deletions
|
|
@ -17,12 +17,10 @@ jobs:
|
||||||
- target: x86_64-unknown-linux-gnu
|
- target: x86_64-unknown-linux-gnu
|
||||||
cross: true
|
cross: true
|
||||||
platform: linux/amd64
|
platform: linux/amd64
|
||||||
deps: "build-essential libssl-dev pkg-config"
|
|
||||||
|
|
||||||
- target: x86_64-pc-windows-gnu
|
- target: x86_64-pc-windows-gnu
|
||||||
cross: true
|
cross: true
|
||||||
platform: linux/amd64
|
platform: linux/amd64
|
||||||
deps: "build-essential mingw-w64"
|
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout code
|
- name: Checkout code
|
||||||
|
|
@ -37,11 +35,6 @@ jobs:
|
||||||
if: matrix.target != 'native' && !matrix.container
|
if: matrix.target != 'native' && !matrix.container
|
||||||
run: rustup target add ${{ matrix.target }}
|
run: rustup target add ${{ matrix.target }}
|
||||||
|
|
||||||
- name: Install build dependencies
|
|
||||||
if: matrix.cross && matrix.deps
|
|
||||||
run: |
|
|
||||||
apk add --no-cache ${{ matrix.deps }}
|
|
||||||
|
|
||||||
- name: Cache Rust dependencies
|
- name: Cache Rust dependencies
|
||||||
uses: https://code.forgejo.org/actions/cache@v4
|
uses: https://code.forgejo.org/actions/cache@v4
|
||||||
with:
|
with:
|
||||||
|
|
@ -76,7 +69,7 @@ jobs:
|
||||||
with:
|
with:
|
||||||
args: >
|
args: >
|
||||||
sh -c "
|
sh -c "
|
||||||
apk add --no-cache build-base musl-dev gcc g++ &&
|
apk add --no-cache build-base musl-dev gcc g++ openssl-dev pkg-config &&
|
||||||
rustup target add x86_64-unknown-linux-gnu &&
|
rustup target add x86_64-unknown-linux-gnu &&
|
||||||
cargo build --release --target x86_64-unknown-linux-gnu &&
|
cargo build --release --target x86_64-unknown-linux-gnu &&
|
||||||
mkdir -p release-artifacts &&
|
mkdir -p release-artifacts &&
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue