omega-bridge
Omega-first language interoperability: checked conversion backends and native language bindings
Brought by drakestapleton
omega-bridge / .github / workflows / ci.yml
| 1 | # CI for omega-bridge: source-only replay of the pinned Omega compiler (tools/bootstrap.sh, |
| 2 | # AArch64 only, fingerprint enforced by tools/build.sh), then every host suite through |
| 3 | # tools/test.sh (the suites compile emitted C with gcc and sanitizers and run emitted Python). |
| 4 | # GPU suites (tests/gpu) need a device window and stay NOT_RUN here. |
| 5 | # A second job writes an SPDX SBOM of the tree for auditors. |
| 6 | name: CI |
| 7 | on: |
| 8 | pull_request: |
| 9 | push: |
| 10 | branches: [main] |
| 11 | permissions: |
| 12 | contents: read |
| 13 | jobs: |
| 14 | test: |
| 15 | runs-on: ubuntu-24.04-arm |
| 16 | timeout-minutes: 30 |
| 17 | steps: |
| 18 | - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 |
| 19 | with: |
| 20 | persist-credentials: false |
| 21 | - name: Bootstrap the pinned compiler from source |
| 22 | run: sh tools/bootstrap.sh |
| 23 | - name: Build the bridge and run the host suites |
| 24 | run: sh tools/test.sh |
| 25 | sbom: |
| 26 | runs-on: ubuntu-latest |
| 27 | timeout-minutes: 10 |
| 28 | steps: |
| 29 | - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 |
| 30 | with: |
| 31 | persist-credentials: false |
| 32 | - uses: anchore/sbom-action@66cbf4bc1f1c0d2edc94016e65bc221b6bb0ad6c # v0.24.3 |
| 33 | with: |
| 34 | path: . |
| 35 | format: spdx-json |
| 36 | artifact-name: sbom-${{ github.sha }}.spdx.json |