Skip to content

Commit

Permalink
chore(ci): fix docker CI (#4014)
Browse files Browse the repository at this point in the history
# Description

## Problem\*

Resolves #4009 

## Summary\*

Aiming to be the dumbest way to get CI passing again.

## Additional Context



## Documentation\*

Check one:
- [ ] No documentation needed.
- [ ] Documentation included in this PR.
- [ ] **[Exceptional Case]** Documentation to be submitted in a separate
PR.

# PR Checklist\*

- [ ] I have tested the changes locally.
- [ ] I have formatted the changes with [Prettier](https://prettier.io/)
and/or `cargo fmt` on default settings.
  • Loading branch information
TomAFrench authored Jan 11, 2024
1 parent eb79166 commit 37272b9
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 8 deletions.
4 changes: 3 additions & 1 deletion .github/scripts/noir-wasm-build.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
#!/bin/bash
set -eu

.github/scripts/noirc-abi-build.sh

.github/scripts/install_wasm-bindgen.sh
yarn workspace @noir-lang/noir_wasm build
yarn workspace @noir-lang/noir_wasm build
2 changes: 1 addition & 1 deletion .github/workflows/docker-test-flow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ jobs:
uses: actions/upload-artifact@v4
with:
name: noir_wasm
path: /usr/src/noir/compiler/wasm/outputs/out/noir_wasm
path: /usr/src/noir/compiler/wasm
retention-days: 10

test-noir-wasm:
Expand Down
11 changes: 5 additions & 6 deletions scripts/nargo_compile_wasm_fixtures.sh
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
#!/bin/bash

cd ./compiler/wasm/fixtures
for dir in $(ls -d */); do
pushd $dir/noir-script
nargo compile
popd
done
fixtures_dir="./compiler/wasm/test/fixtures"

nargo compile --program-dir=$fixtures_dir/noir-contract
nargo compile --program-dir=$fixtures_dir/simple
nargo compile --program-dir=$fixtures_dir/with-deps

0 comments on commit 37272b9

Please sign in to comment.