-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Resolve issues with structutal crashes in Bevel, add colinear metadata to generators, and ensure boolean identity tradeoffs #2068 #3943
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
Changes from all commits
fcc53f5
52ca527
49f291f
7372a63
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -8,78 +8,12 @@ env: | |
| CARGO_TERM_COLOR: always | ||
|
|
||
| jobs: | ||
| # Build the web app on the self-hosted wasm runner | ||
| # Build the web app via the shared build workflow | ||
| build: | ||
| runs-on: [self-hosted, target/wasm] | ||
| permissions: | ||
| contents: write | ||
| deployments: write | ||
| pull-requests: write | ||
| actions: write | ||
| env: | ||
| RUSTC_WRAPPER: /usr/bin/sccache | ||
| CARGO_INCREMENTAL: 0 | ||
| SCCACHE_DIR: /var/lib/github-actions/.cache | ||
|
|
||
| steps: | ||
| - name: 📥 Clone repository | ||
| uses: actions/checkout@v6 | ||
|
|
||
| - name: 🚦 Check if CI can be skipped | ||
| id: skip-check | ||
| uses: cariad-tech/merge-queue-ci-skipper@main | ||
|
|
||
| - name: 🗑 Clear wasm-bindgen cache | ||
| if: steps.skip-check.outputs.skip-check != 'true' | ||
| run: rm -r ~/.cache/.wasm-pack || true | ||
|
|
||
| - name: 🟢 Install Node.js | ||
| if: steps.skip-check.outputs.skip-check != 'true' | ||
| uses: actions/setup-node@v6 | ||
| with: | ||
| node-version-file: .nvmrc | ||
|
|
||
| - name: 🚧 Install build dependencies | ||
| if: steps.skip-check.outputs.skip-check != 'true' | ||
| run: | | ||
| cd frontend | ||
| npm run setup | ||
|
|
||
| - name: 🦀 Install Rust | ||
| if: steps.skip-check.outputs.skip-check != 'true' | ||
| uses: actions-rust-lang/setup-rust-toolchain@v1 | ||
| with: | ||
| toolchain: stable | ||
| override: true | ||
| cache: false | ||
| rustflags: "" | ||
| target: wasm32-unknown-unknown | ||
|
|
||
| - name: 🦀 Fetch Rust dependencies | ||
| if: steps.skip-check.outputs.skip-check != 'true' | ||
| run: cargo fetch --locked | ||
|
|
||
| - name: 🌐 Build Graphite web code | ||
| if: steps.skip-check.outputs.skip-check != 'true' | ||
| env: | ||
| NODE_ENV: production | ||
| run: mold -run cargo run build web | ||
|
|
||
| - name: 📤 Publish to Cloudflare Pages | ||
| if: steps.skip-check.outputs.skip-check != 'true' | ||
| continue-on-error: true | ||
| env: | ||
| CLOUDFLARE_API_TOKEN: ${{ secrets.CLOUDFLARE_API_TOKEN }} | ||
| CLOUDFLARE_ACCOUNT_ID: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }} | ||
| run: npx wrangler@3 pages deploy "frontend/dist" --project-name="graphite-dev" --commit-dirty=true | ||
|
|
||
| - name: 👕 Lint Graphite web formatting | ||
| if: steps.skip-check.outputs.skip-check != 'true' | ||
| env: | ||
| NODE_ENV: production | ||
| run: | | ||
| cd frontend | ||
| npm run check | ||
| uses: ./.github/workflows/build.yml | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. P2: Reusable Prompt for AI agents |
||
| secrets: inherit | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. P1: Prompt for AI agents |
||
| with: | ||
| web: true | ||
|
|
||
| # Run the Rust tests on the self-hosted native runner | ||
| test: | ||
|
|
@@ -88,7 +22,6 @@ jobs: | |
| RUSTC_WRAPPER: /usr/bin/sccache | ||
| CARGO_INCREMENTAL: 0 | ||
| SCCACHE_DIR: /var/lib/github-actions/.cache | ||
|
|
||
| steps: | ||
| - name: 📥 Clone repository | ||
| uses: actions/checkout@v6 | ||
|
|
||
This file was deleted.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
P2:
cf_projectis only set on push runs, butwrangler pages deployalways uses it. On workflow_dispatch/workflow_call runs the output is empty, so deploy will receive an empty--project-nameand fail. Either set a default for non-push runs or guard the deploy step.Prompt for AI agents