Skip to content

Commit

Permalink
chore(infra): add nightly ci
Browse files Browse the repository at this point in the history
  • Loading branch information
alon-dotan-starkware committed Feb 10, 2025
1 parent a194fad commit 071994d
Show file tree
Hide file tree
Showing 4 changed files with 35 additions and 0 deletions.
18 changes: 18 additions & 0 deletions .github/workflows/nightly.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
name: Nightly Build

on:
schedule:
- cron: '0 0 * * *' # Runs at midnight UTC every day
workflow_dispatch: # Allows manual triggering

jobs:
run-tests:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@master
with:
toolchain: nightly-2025-01-02
- uses: Swatinem/rust-cache@v2
- name: Run tests
run: cargo test --features="nightly"
6 changes: 6 additions & 0 deletions crates/air_utils/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,9 @@ stwo-air-utils-derive = { path = "../air_utils_derive" }

[lib]
bench = false

# Define Nightly features in order to allow selective tests
# Use the following #[cfg(feature = "nightly")]
# to enable nightly features on specific tests.
[features]
nightly = []
6 changes: 6 additions & 0 deletions crates/air_utils_derive/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,9 @@ syn = "2.0.90"
quote = "1.0.37"
itertools = "0.13.0"
proc-macro2 = "1.0.92"

# Define Nightly features in order to allow selective tests
# Use the following #[cfg(feature = "nightly")]
# to enable nightly features on specific tests.
[features]
nightly = []
5 changes: 5 additions & 0 deletions crates/prover/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,11 @@ edition.workspace = true
[features]
parallel = ["rayon"]
slow-tests = []
# Define Nightly features in order to allow selective tests
# Use the following #[cfg(feature = "nightly")]
# to enable nightly features on specific tests.
nightly = []


# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

Expand Down

0 comments on commit 071994d

Please sign in to comment.