mirror of
https://github.com/nitnelave/lldap.git
synced 2023-04-12 14:25:13 +00:00
using script
This commit is contained in:
parent
252bd6cf39
commit
10d826fc46
14
.github/workflows/docker-build-static.yml
vendored
14
.github/workflows/docker-build-static.yml
vendored
@ -198,7 +198,7 @@ jobs:
|
|||||||
build-amd64:
|
build-amd64:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
container:
|
container:
|
||||||
image: martadinata666/debian:rust-dev
|
image: rust:1.62
|
||||||
env:
|
env:
|
||||||
CARGO_TERM_COLOR: always
|
CARGO_TERM_COLOR: always
|
||||||
RUSTFLAGS: -Ctarget-feature=+crt-static
|
RUSTFLAGS: -Ctarget-feature=+crt-static
|
||||||
@ -218,10 +218,14 @@ jobs:
|
|||||||
key: lldap-bin-amd64-${{ hashFiles('**/Cargo.lock') }}
|
key: lldap-bin-amd64-${{ hashFiles('**/Cargo.lock') }}
|
||||||
restore-keys: |
|
restore-keys: |
|
||||||
lldap-bin-amd64-
|
lldap-bin-amd64-
|
||||||
- name: add x86_64 target
|
- name: install musl
|
||||||
run: rustup target add x86_64-unknown-linux-musl
|
run: apt update && apt install -y musl-tools
|
||||||
- name: build x86_64 lldap
|
- name: fetch musl gcc and build
|
||||||
run: cargo build --target=x86_64-unknown-linux-musl --release -p lldap -p migration-tool
|
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
|
- name: check path
|
||||||
run: ls -al target/x86_64-unknown-linux-musl/release/
|
run: ls -al target/x86_64-unknown-linux-musl/release/
|
||||||
- name: upload amd64 lldap artifacts
|
- name: upload amd64 lldap artifacts
|
||||||
|
Loading…
Reference in New Issue
Block a user