diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml new file mode 100644 index 0000000..6209afe --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,98 @@ +# Cold build of all KiCad WASM apps (with deps) + full e2e suites, on Ubicloud. +# +# Runs on Ubicloud's managed GitHub Actions runners. Premium runners (AMD Ryzen 9 +# 7950X3D, ~2x faster) are enabled at the ACCOUNT level in the Ubicloud Console +# (GitHub Runners -> Settings -> Enable Premium Runners); jobs on the +# `ubicloud-standard-*` labels below are then auto-routed to the premium fleet with +# no change needed here. +# +# One-time setup required: +# The kicad/wxwidgets submodules are private SSH repos in the VV-EE org, which the +# default GITHUB_TOKEN cannot read. Add a repo secret `SUBMODULES_TOKEN` (a PAT with +# read access to VV-EE/kicad-source-mirror and VV-EE/wxWidgets); actions/checkout +# rewrites the SSH submodule URLs to token-authenticated HTTPS. + +name: CI + +on: + push: + branches: [main] + workflow_dispatch: + +concurrency: + group: ci-${{ github.ref }} + cancel-in-progress: true + +jobs: + build-and-test: + runs-on: ubicloud-standard-16 + timeout-minutes: 240 # cold --build-deps dominates; + wx build + both suites + env: + # Stream build-script output straight to the Actions log instead of redirecting + # it to logs/