Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: add mold to github action #3544

Closed
wants to merge 3 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions .github/workflows/auto-pr-rebuild-script.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,12 @@ jobs:
cache-on-failure: true
save-if: ${{ github.event_name != 'merge_group' }}

- name: Install mold linker
uses: rui314/setup-mold@v1
if: ${{ runner.os == 'Linux' }}
with:
make-default: true

- name: Build Nargo
run: cargo build --package nargo_cli --release

Expand Down
6 changes: 6 additions & 0 deletions .github/workflows/build-aztec-feature-flag.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,5 +41,11 @@ jobs:
cache-on-failure: true
save-if: ${{ github.event_name != 'merge_group' }}

- name: Install mold linker
uses: rui314/setup-mold@v1
if: ${{ runner.os == 'Linux' }}
with:
make-default: true

- name: Build with feature flag
run: cargo build --features="noirc_frontend/aztec"
6 changes: 6 additions & 0 deletions .github/workflows/gates_report.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,12 @@ jobs:
cache-on-failure: true
save-if: ${{ github.event_name != 'merge_group' }}

- name: Install mold linker
uses: rui314/setup-mold@v1
if: ${{ runner.os == 'Linux' }}
with:
make-default: true

- name: Build Nargo
run: cargo build --package nargo_cli --release

Expand Down
12 changes: 12 additions & 0 deletions .github/workflows/publish-nargo.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,12 @@ jobs:
cache-on-failure: true
save-if: ${{ github.event_name != 'merge_group' }}

- name: Install mold linker
uses: rui314/setup-mold@v1
if: ${{ runner.os == 'Linux' }}
with:
make-default: true

- name: Build environment and Compile
run: |
cargo build --package nargo_cli --release --target ${{ matrix.target }} --no-default-features --features "${{ inputs.features }}"
Expand Down Expand Up @@ -138,6 +144,12 @@ jobs:
cache-on-failure: true
save-if: ${{ github.event_name != 'merge_group' }}

- name: Install mold linker
uses: rui314/setup-mold@v1
if: ${{ runner.os == 'Linux' }}
with:
make-default: true

- name: Install Cross
uses: taiki-e/install-action@v2
with:
Expand Down
6 changes: 6 additions & 0 deletions .github/workflows/test-noir_wasm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,12 @@ jobs:
cache-on-failure: true
save-if: ${{ github.event_name != 'merge_group' }}

- name: Install mold linker
uses: rui314/setup-mold@v1
if: ${{ runner.os == 'Linux' }}
with:
make-default: true

- name: Build Nargo
run: cargo build --package nargo_cli --release

Expand Down
6 changes: 6 additions & 0 deletions .github/workflows/test-rust-workspace.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,5 +41,11 @@ jobs:
cache-on-failure: true
save-if: ${{ github.event_name != 'merge_group' }}

- name: Install mold linker
uses: rui314/setup-mold@v1
if: ${{ runner.os == 'Linux' }}
with:
make-default: true

- name: Run tests
run: cargo test --workspace --locked --release
Loading