Skip to content
This repository was archived by the owner on Jul 5, 2022. It is now read-only.

Commit 7f65a0f

Browse files
committed
Lets try cross compile again
1 parent 4d982e6 commit 7f65a0f

File tree

1 file changed

+3
-8
lines changed

1 file changed

+3
-8
lines changed

.github/workflows/build-npm-and-release.yml

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -106,17 +106,12 @@ jobs:
106106
runs-on: ubuntu-latest
107107
steps:
108108
- uses: actions/checkout@v2
109-
- name: Enter folder
109+
- name: Build
110110
run: |
111-
ls -l
112111
cd crates/matrix-sdk-crypto-nodejs/
113-
ls -l
114-
115-
docker pull ghcr.io/napi-rs/napi-rs/nodejs-rust:lts-alpine
116-
docker tag ghcr.io/napi-rs/napi-rs/nodejs-rust:lts-alpine builder
117-
112+
docker build -f release/Dockerfile.linux -t builder .
118113
docker run --rm -v $(pwd):/build -w /build builder yarn --ignore-scripts
119-
docker run --rm -v $(pwd):/build -w /build builder yarn build:linux:x64:musl
114+
docker run --rm -v $(pwd):/build -w /build -e RUSTFLAGS="-C target-feature=-crt-static" builder yarn build:linux:x64:musl
120115
- name: Upload artifact
121116
uses: actions/upload-artifact@v2
122117
with:

0 commit comments

Comments
 (0)