Skip to content

Commit

Permalink
Merge branch 'master' into gj/noir_wasm
Browse files Browse the repository at this point in the history
* master:
  chore(ci): disable commit comments on docs publishing (#3998)
  feat: simplify chains of casts to be all in terms of the original `ValueId` (#3984)
  chore: quiet down aztec-bot! (#4006)
  chore: force public functions for trait implementation (#3986)
  feat: docker testing flow (#3895)
  feat: decompose `Instruction::Constrain` into multiple more basic constraints (#3892)
  feat: remove truncation from brillig casts (#3997)
  chore: add test case showing reexports (#4001)
  feat: remove truncations which can be seen to be noops using type information (#3953)
  chore: remove homemade keccakf1600 implementation (#3996)
  • Loading branch information
TomAFrench committed Jan 11, 2024
2 parents c15d48a + eea3ea1 commit f7f7f5e
Show file tree
Hide file tree
Showing 46 changed files with 1,433 additions and 281 deletions.
9 changes: 9 additions & 0 deletions .dockerignore
Original file line number Diff line number Diff line change
@@ -1,6 +1,15 @@
Dockerfile*
.dockerignore

# Yarn
.pnp.*
.yarn/*
!.yarn/patches
!.yarn/plugins
!.yarn/releases
!.yarn/sdks
!.yarn/versions

packages
**/package.tgz
**/target
Expand Down
5 changes: 5 additions & 0 deletions .github/scripts/acvm_js-build.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
#!/bin/bash
set -eu

.github/scripts/install_wasm-bindgen.sh
yarn workspace @noir-lang/acvm_js build
5 changes: 5 additions & 0 deletions .github/scripts/acvm_js-test-browser.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
#!/bin/bash
set -eu

npx playwright install && npx playwright install-deps
yarn workspace @noir-lang/acvm_js test:browser
4 changes: 4 additions & 0 deletions .github/scripts/acvm_js-test.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
#!/bin/bash
set -eu

yarn workspace @noir-lang/acvm_js test
4 changes: 4 additions & 0 deletions .github/scripts/backend-barretenberg-build.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
#!/bin/bash
set -eu

yarn workspace @noir-lang/backend_barretenberg build
4 changes: 4 additions & 0 deletions .github/scripts/backend-barretenberg-test.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
#!/bin/bash
set -eu

yarn workspace @noir-lang/backend_barretenberg test
5 changes: 5 additions & 0 deletions .github/scripts/install_wasm-bindgen.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
#!/bin/bash
set -eu

curl -L --proto '=https' --tlsv1.2 -sSf https://raw.githubusercontent.com/cargo-bins/cargo-binstall/main/install-from-binstall-release.sh | bash
cargo-binstall wasm-bindgen-cli --version 0.2.86 -y
6 changes: 6 additions & 0 deletions .github/scripts/integration-test.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
#!/bin/bash
set -eu

apt-get install libc++-dev -y
npx playwright install && npx playwright install-deps
yarn workspace integration-tests test
8 changes: 8 additions & 0 deletions .github/scripts/nargo-build.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
#!/bin/bash
set -eu

export SOURCE_DATE_EPOCH=$(date +%s)
export GIT_DIRTY=false
export GIT_COMMIT=$(git rev-parse --verify HEAD)

cargo build --release
10 changes: 10 additions & 0 deletions .github/scripts/nargo-test.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
#!/bin/bash
set -eu

apt-get install -y curl libc++-dev

export SOURCE_DATE_EPOCH=$(date +%s)
export GIT_DIRTY=false
export GIT_COMMIT=$(git rev-parse --verify HEAD)

cargo test --workspace --locked --release
4 changes: 4 additions & 0 deletions .github/scripts/noir-codegen-build.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
#!/bin/bash
set -eu

yarn workspace @noir-lang/noir_codegen build
4 changes: 4 additions & 0 deletions .github/scripts/noir-codegen-test.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
#!/bin/bash
set -eu

yarn workspace @noir-lang/noir_codegen test
4 changes: 4 additions & 0 deletions .github/scripts/noir-js-build.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
#!/bin/bash
set -eu

yarn workspace @noir-lang/noir_js build
6 changes: 6 additions & 0 deletions .github/scripts/noir-js-test.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
#!/bin/bash
set -eu

./scripts/nargo_compile_noir_js_assert_lt.sh
rm -rf /usr/src/noir/tooling/noir_js/test/noir_compiled_examples/assert_lt/target/debug_assert_lt.json
yarn workspace @noir-lang/noir_js test
4 changes: 4 additions & 0 deletions .github/scripts/noir-js-types-build.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
#!/bin/bash
set -eu

yarn workspace @noir-lang/types build
5 changes: 5 additions & 0 deletions .github/scripts/noir-wasm-build.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
#!/bin/bash
set -eu

.github/scripts/install_wasm-bindgen.sh
yarn workspace @noir-lang/noir_wasm build
6 changes: 6 additions & 0 deletions .github/scripts/noir-wasm-test-browser.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
#!/bin/bash
set -eu

./scripts/nargo_compile_wasm_fixtures.sh
npx playwright install && npx playwright install-deps
yarn workspace @noir-lang/noir_wasm test:browser
7 changes: 7 additions & 0 deletions .github/scripts/noir-wasm-test.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
#!/bin/bash
set -eu

./scripts/nargo_compile_wasm_fixtures.sh
yarn workspace @noir-lang/noir_wasm test:node
npx playwright install && npx playwright install-deps
yarn workspace @noir-lang/noir_wasm test:browser
5 changes: 5 additions & 0 deletions .github/scripts/noirc-abi-build.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
#!/bin/bash
set -eu

.github/scripts/install_wasm-bindgen.sh
yarn workspace @noir-lang/noirc_abi build
5 changes: 5 additions & 0 deletions .github/scripts/noirc-abi-test-browser.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
#!/bin/bash
set -eu

npx playwright install && npx playwright install-deps
yarn workspace @noir-lang/noirc_abi test:browser
4 changes: 4 additions & 0 deletions .github/scripts/noirc-abi-test.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
#!/bin/bash
set -eu

yarn workspace @noir-lang/noirc_abi test
Loading

0 comments on commit f7f7f5e

Please sign in to comment.