Skip to content

Commit 7ef5372

Browse files
committed
use npm for ci to run build_conf ; so wasmpack should be installed 🤞
1 parent 58ba8bc commit 7ef5372

File tree

4 files changed

+4
-3
lines changed

4 files changed

+4
-3
lines changed

.github/workflows/minimal.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ jobs:
2929
~/.cargo/git/db/
3030
target/
3131
key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}
32-
- run: npm ci --development;
32+
- run: npm ci
3333
- name: Prepare minimal 2d build
3434
working-directory: ./builds/prepare_builds/
3535
run: |
@@ -44,4 +44,4 @@ jobs:
4444
- name: Build minimal 2d project compat
4545
working-directory: ./rapier-compat
4646
run: |
47-
./build_conf.sh example_dim2_minimal
47+
npm run build-conf -- example_dim2_minimal

rapier-compat/build_conf.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ fi
1414
for config_file_name in "$@"
1515
do
1616

17-
./build-rust.sh $config_file_name
17+
./build_rust.sh $config_file_name
1818
./gen_src.sh $config_file_name
1919
npm run rollup -- --config rollup.config.js --bundleConfigAsCjs --environment BUILD_CONFIG_NAME:${config_file_name}
2020

File renamed without changes.

rapier-compat/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
"build-2d-all": "./build_conf.sh dim2 dim2_deterministic dim2_simd",
88
"build-3d-all": "./build_conf.sh dim3 dim3_deterministic dim3_simd",
99
"build-all": "./build_conf.sh dim2 dim3 dim2_deterministic dim3_deterministic dim2_simd dim3_simd",
10+
"build-conf": "./build_conf.sh",
1011
"fix-raw-file": "sh ./fix_raw_file.sh",
1112
"build": "npm run clean && npm run build-all",
1213
"clean": "cargo clean && rimraf builds",

0 commit comments

Comments
 (0)