# CI for forge itself. Format: docs/ci.md, parser: crates/forge-ci/src/config.rs. # # cmake is needed because aws-lc-sys (via aws-lc-rs, pulled in by rustls) builds its C # sources with cmake. The rust image has a C compiler but not cmake. # The workflow has no branch condition, so the build job also runs for pull requests. [on] push = ["main"] pull_request = true manual = true [jobs.test] image = "docker.io/library/rust:1" run = """ apt-get update apt-get install -y --no-install-recommends cmake cargo test --workspace """ timeout_minutes = 60 [jobs.build] image = "docker.io/library/rust:1" needs = ["test"] run = """ apt-get update apt-get install -y --no-install-recommends cmake cargo build --profile dist -p forge-web mkdir -p dist cp target/dist/forge dist/forge """ artifacts = ["dist/forge"] timeout_minutes = 60