manual fetch

This commit is contained in:
Dedy Martadinata Supriyadi 2022-08-01 14:38:51 +07:00 committed by nitnelave
parent 10d826fc46
commit 551f5abc4b

View File

@ -219,13 +219,18 @@ jobs:
restore-keys: | restore-keys: |
lldap-bin-amd64- lldap-bin-amd64-
- name: install musl - name: install musl
run: apt update && apt install -y musl-tools run: apt update && apt install -y musl-tools tar wget
- name: fetch musl gcc and build - name: fetch musl-gcc
run: ./build-amd64.sh run: |
# - name: add x86_64 target wget -c https://musl.cc/x86_64-linux-musl-cross.tgz
# run: rustup target add x86_64-unknown-linux-musl tar zxf ./x86_64-linux-musl-cross.tgz -C /opt
# - name: build x86_64 lldap echo "/opt/x86_64-linux-musl-cross:/opt/x86_64-linux-musl-cross/bin" >> $GITHUB_PATH
# run: cargo build --target=x86_64-unknown-linux-musl --release -p lldap -p migration-tool # - 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 - 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