Update docker-build-static.yml

This commit is contained in:
Dedy Martadinata S 2022-08-01 20:43:29 +07:00 committed by nitnelave
parent 2ac47d5c85
commit f69b729eb2

View File

@ -51,10 +51,6 @@ env:
## cargo ## cargo
## target ## target
# Github actions currently timeout when downloading musl-gcc
## Using lldap dev image based on rust:1.62-slim-bullseye and musl-gcc bundled
### Job aarch64 and amd64 build
jobs: jobs:
build-ui: build-ui:
runs-on: ubuntu-latest runs-on: ubuntu-latest
@ -85,10 +81,10 @@ jobs:
lldap-ui- lldap-ui-
- name: Checkout repository - name: Checkout repository
uses: actions/checkout@v2 uses: actions/checkout@v2
- name: install rollup nodejs and wasm-pack - name: install rollup nodejs
run: | run: npm install -g rollup
npm install -g rollup - name: install wasm-pack with cargo
npm install -g wasm-pack run: cargo install wasm-pack || true
- name: build frontend - name: build frontend
run: ./app/build.sh run: ./app/build.sh
- name: check path - name: check path
@ -152,6 +148,11 @@ jobs:
build-aarch64: build-aarch64:
runs-on: ubuntu-latest runs-on: ubuntu-latest
container: container:
##################################################################################
# Github actions currently timeout when downloading musl-gcc #
# Using lldap dev image based on rust:1.62-slim-bullseye and musl-gcc bundled #
# Only for Job build aarch64 and amd64 #
###################################################################################
#image: rust:1.62 #image: rust:1.62
image: nitnelave/rust-dev:latest image: nitnelave/rust-dev:latest
env: env:
@ -163,8 +164,7 @@ jobs:
- name: Checkout repository - name: Checkout repository
uses: actions/checkout@v2 uses: actions/checkout@v2
- name: smoke test - name: smoke test
run: | run: rustc --version
rustc --version
- name: Checkout repository - name: Checkout repository
uses: actions/checkout@v2 uses: actions/checkout@v2
- uses: actions/cache@v3 - uses: actions/cache@v3