Commit Graph

26 Commits

Author SHA1 Message Date
Leo
c5b35ea4b0 remove podwr vm from main repo (#3231)
- Remove all crates that are not linked with `autoprecompiles`,
`openvm`, `constraint-solver`
- Remove tests and artifacts linked with removed crates
- Adjust CI
2025-08-28 10:03:36 +00:00
Thibaut Schaeffer
ef11e48462 Fix nightly tests and simplify CI (#2760)
- remove target triple
- more succinct rustup command
- install 2025-02-14 for openvm in nightly tests
2025-05-24 07:44:56 +00:00
Thibaut Schaeffer
aafe2570be Remove estark (#2739)
Following #2735 , remove all of estark
2025-05-20 17:50:33 +00:00
Thibaut Schaeffer
2d6708bbc5 Add openvm crates (#2714)
Based on commit 1dbe4db
- Split into two crates, lib and cli
- upgrade stwo, marked one stwo test `should_panic` @ShuangWu121 
- various clippy and fmt fixes linked to the rust version update
- bring all rust versions to 2025-05-14. CI still installs other
versions for openvm which uses them internally. The stable rust version
we test on is bumped to 1.85
- remove `examples` and related tests, which test the powdr crate on the
previous version of powdr (since it uses another nightly). Happy to
discuss this if it's important @leonardoalt
2025-05-16 14:30:09 +00:00
chriseth
8878d5dcb7 Fix cache (#2668)
Seems to be working now:
https://github.com/powdr-labs/powdr/actions/runs/14663513819/job/41152963601
2025-04-25 12:55:03 +00:00
chriseth
bfe7604684 Check out cache, set mtime and re-check out actual commit. (#2655)
Instead of setting `mtime` to the committed date, which @lvella noted is
error-prone, this PR does the following so that we can utilize the build
cache:

- check out the commit the build cache was built for
- set mtime to the time the cache was built
- check out the commit we are running the tests on

This hopefully has the effect that all modified files will have the
current time as mtime and will trigger re-builds correctly
2025-04-24 10:31:20 +00:00
Lucas Clemente Vella
f02fd626e2 Revert "CI: Avoid rebuilding cached files. (#2648)" (#2650)
Don't fix the problem, due to depth=1, and might even cause others, due
to git timestamp being unreliable to track changes since last build.
2025-04-16 16:57:48 +00:00
Lucas Clemente Vella
2d44e9ff95 CI: Avoid rebuilding cached files. (#2648)
Sets the timestamp of files to the commit timestamp, so that cargo can
know which files were not modified in the PR.
2025-04-15 14:50:11 +00:00
Lucas Clemente Vella
2583f7f057 Checking formatting first because it fails faster. (#2590) 2025-03-26 07:32:55 +00:00
Lucas Clemente Vella
4dc747ae1d Fix cache (#2584)
It seems WarpBuild removed the ability to overwrite a cache with the
same key.

But since they allow for removing a cache, this fix simply removes the
old one before saving the new one.

Please make sure the build cache test run was successful before merging.
2025-03-25 22:48:41 +00:00
chriseth
59bd7d2b69 Update nightly toolchains. (#2518)
I'm not really sure if this is the right fix. For the riscv targets, we
are using nightly-2024-08-01 - is that on purpose? Maybe we should keep
the examples on 2024-08-01 as well?
2025-03-05 11:56:41 +00:00
Leo
c9d9e3f4ea Fix ci again (#2193)
The new Ubuntu used in CI now requires new packages for estark. This is
already in nightly but broke the normal cache last night
2024-12-04 09:33:54 +00:00
Leo
a124dc6265 update CI ubuntu (#2187) 2024-12-03 17:32:45 +00:00
Lucas Clemente Vella
047f2721f5 Fixing cache build. (#2016) 2024-11-01 16:47:47 +00:00
Lucas Clemente Vella
5b0d9a0536 Fixing CI to an specific ubuntu image (#1993) 2024-10-30 16:10:47 +00:00
Lucas Clemente Vella
cf099fc109 Builds on better runner. (#1988)
Also, shallow git clones and more verbose build output, to make it
easier to diagnose why something was rebuilt.
2024-10-30 11:59:58 +00:00
Lucas Clemente Vella
fe3a4f0ef4 Attempt to make cache more useful for PR builds. (#1959)
The same build steps is now performed in both cache build and PR build.
2024-10-25 21:23:38 +00:00
Lucas Clemente Vella
d91e4cafa2 Replacing the old cache without deleting it first. (#1909)
Working on the assumption that there is a race condition between the
delete command and the push new cache command, that is why some days we
have no cache.
2024-10-15 15:53:51 +00:00
Lucas Clemente Vella
7b7e727a81 Using Warpbuild instead of BuildJet (#1860)
BuildJet cache is broken and they won't answer support ticket.
2024-10-02 13:07:53 +00:00
Thibaut Schaeffer
0358dec845 Upgrade Rust to 1.81 (#1846)
This is a prerequisite for #1845 

TODO:
- [x] narrow down or remove the dead_code exception
2024-09-27 14:08:26 +00:00
Lucas Clemente Vella
83e2c841e6 Trying buildjet CI runner (#1777) 2024-09-11 08:53:12 +00:00
chriseth
72cacd2c78 Use cache v4 (#1774) 2024-09-10 11:06:30 +00:00
chriseth
e061ad0685 Use checkout v4 (#1773) 2024-09-10 11:05:51 +00:00
Lucas Clemente Vella
ac9dcfda87 zkEVM prover backend (#1211)
Similar to #1193, but in here I am just interested in having it working
end-to-end, at least for a few cases, so that everybody can try it and
build upon.

<!--

Please follow this protocol when creating or reviewing PRs in this
repository:

- Leave the PR as draft until review is required.
- When reviewing a PR, every reviewer should assign themselves as soon
as they
start, so that other reviewers know the PR is covered. You should not be
discouraged from reviewing a PR with assignees, but you will know it is
not
  strictly needed.
- Unless the PR is very small, help the reviewers by not making forced
pushes, so
that GitHub properly tracks what has been changed since the last review;
use
  "merge" instead of "rebase". It can be squashed after approval.
- Once the comments have been addressed, explicitly let the reviewer
know the PR
  is ready again.

-->

---------

Co-authored-by: Leo <leo@powdrlabs.com>
2024-04-18 09:16:09 +00:00
Thibaut Schaeffer
ef2409b008 Upgrade rust to 1.77 (#1253)
Required for #1158
2024-04-04 20:17:48 +00:00
Leandro Pacheco
dcf45872fe daily rust cache for PR-tests action 2024-02-12 15:00:50 -03:00