mirror of
https://github.com/lldap/lldap.git
synced 2024-11-28 17:42:10 +00:00
using script
This commit is contained in:
parent
252bd6cf39
commit
10d826fc46
1 changed files with 9 additions and 5 deletions
14
.github/workflows/docker-build-static.yml
vendored
14
.github/workflows/docker-build-static.yml
vendored
|
@ -198,7 +198,7 @@ jobs:
|
|||
build-amd64:
|
||||
runs-on: ubuntu-latest
|
||||
container:
|
||||
image: martadinata666/debian:rust-dev
|
||||
image: rust:1.62
|
||||
env:
|
||||
CARGO_TERM_COLOR: always
|
||||
RUSTFLAGS: -Ctarget-feature=+crt-static
|
||||
|
@ -218,10 +218,14 @@ jobs:
|
|||
key: lldap-bin-amd64-${{ hashFiles('**/Cargo.lock') }}
|
||||
restore-keys: |
|
||||
lldap-bin-amd64-
|
||||
- name: add x86_64 target
|
||||
run: rustup target add x86_64-unknown-linux-musl
|
||||
- name: build x86_64 lldap
|
||||
run: cargo build --target=x86_64-unknown-linux-musl --release -p lldap -p migration-tool
|
||||
- name: install musl
|
||||
run: apt update && apt install -y musl-tools
|
||||
- name: fetch musl gcc and build
|
||||
run: ./build-amd64.sh
|
||||
# - name: add x86_64 target
|
||||
# run: rustup target add x86_64-unknown-linux-musl
|
||||
# - name: build x86_64 lldap
|
||||
# run: cargo build --target=x86_64-unknown-linux-musl --release -p lldap -p migration-tool
|
||||
- name: check path
|
||||
run: ls -al target/x86_64-unknown-linux-musl/release/
|
||||
- name: upload amd64 lldap artifacts
|
||||
|
|
Loading…
Reference in a new issue