diff --git a/.github/workflows/test-examples.yml b/.github/workflows/test-examples.yml new file mode 100644 index 0000000..41cc61e --- /dev/null +++ b/.github/workflows/test-examples.yml @@ -0,0 +1,26 @@ +name: Test examples + +on: + push: + branches: [ main ] + pull_request: + branches: [ main ] + +jobs: + build-and-test: + runs-on: ubuntu-latest + steps: + - name: Checkout repository + uses: actions/checkout@v4 + + - name: Install dependencies + run: | + # Install aztec + NON_INTERACTIVE=1 bash -i <(curl -s https://install.aztec.network) + echo "$HOME/.aztec/bin" >> $GITHUB_PATH + + - name: Build+Test Hello + run: | + cd hello + make + aztec test