Skip to content

Commit

Permalink
Merge branch 'main' of github.com:powdr-labs/powdr into remove-consta…
Browse files Browse the repository at this point in the history
…nt-intermediates
  • Loading branch information
Schaeff committed Dec 13, 2024
2 parents fbc238b + 12aca0e commit 605be04
Show file tree
Hide file tree
Showing 200 changed files with 8,210 additions and 3,181 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build-cache.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ env:

jobs:
build:
runs-on: warp-ubuntu-2204-x64-4x
runs-on: warp-ubuntu-2404-x64-4x

steps:
- uses: actions/checkout@v4
Expand All @@ -18,7 +18,7 @@ jobs:

##### The block below is shared between cache build and PR build workflows #####
- name: Install EStarkPolygon prover dependencies
run: sudo apt-get install -y nlohmann-json3-dev libpqxx-dev nasm
run: sudo apt-get update && sudo apt-get install -y nlohmann-json3-dev libpqxx-dev nasm libgrpc++-dev libprotobuf-dev protobuf-compiler-grpc uuid-dev build-essential cmake pkg-config git
- name: Install Rust toolchain nightly-2024-09-21 (with clippy and rustfmt)
run: rustup toolchain install nightly-2024-09-21-x86_64-unknown-linux-gnu && rustup component add clippy --toolchain nightly-2024-09-21-x86_64-unknown-linux-gnu && rustup component add rustfmt --toolchain nightly-2024-09-21-x86_64-unknown-linux-gnu
- name: Install Rust toolchain 1.81 (stable)
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/dead-links.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: Check markdown links
on: [pull_request, merge_group]
jobs:
markdown-link-check:
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v4
- uses: gaurav-nelson/github-action-markdown-link-check@v1
Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/deploy-book.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ on:

jobs:
deploy:
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
permissions:
contents: write # To push a branch
pull-requests: write # To create a PR from that branch
Expand Down Expand Up @@ -38,6 +38,8 @@ jobs:
git update-ref -d refs/heads/gh-pages
rm -rf *
mv ../book/* .
# restore the benchmark directory
git restore --source=origin/gh-pages -- dev
git add .
git commit -m "Deploy $GITHUB_SHA to gh-pages"
git push --force --set-upstream origin gh-pages
11 changes: 5 additions & 6 deletions .github/workflows/nightly-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ env:

jobs:
check_if_needs_running:
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
outputs:
status: ${{ steps.count.outputs.status }}

Expand Down Expand Up @@ -43,7 +43,7 @@ jobs:
args: '--all-targets'

test_release:
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
needs: check_if_needs_running
if: needs.check_if_needs_running.outputs.status > 0

Expand Down Expand Up @@ -73,8 +73,10 @@ jobs:
run: rustup component add rust-src --toolchain nightly-2024-08-01-x86_64-unknown-linux-gnu
- name: Install riscv target
run: rustup target add riscv32imac-unknown-none-elf --toolchain nightly-2024-08-01-x86_64-unknown-linux-gnu
- name: Install test dependencies
run: sudo apt-get update && sudo apt-get install -y binutils-riscv64-unknown-elf lld
- name: Install EStarkPolygon prover dependencies
run: sudo apt-get install -y nlohmann-json3-dev libpqxx-dev nasm
run: sudo apt-get update && sudo apt-get install -y nlohmann-json3-dev libpqxx-dev nasm libgrpc++-dev libprotobuf-dev protobuf-compiler-grpc uuid-dev build-essential cmake pkg-config git
- name: Install pilcom
run: git clone https://github.com/0xPolygonHermez/pilcom.git && cd pilcom && npm install
- name: Check without Halo2
Expand All @@ -84,6 +86,3 @@ jobs:
- name: Run tests
# Number threads is set to 1 because the runner does not have enough memeory for more.
run: PILCOM=$(pwd)/pilcom/ cargo test --all --release --verbose --all-features -- --include-ignored --nocapture --test-threads=1
- name: Run benchmarks
run: cargo bench
working-directory: compiler
Loading

0 comments on commit 605be04

Please sign in to comment.