interplane.Get Omega
Read in your language

omnet

aien-dev/omnet

Brought by drakestapleton

branch main Branches Tags History

omnet / .github / workflows / ci.yml

42 lines · 1419 bytes Raw Blame History
1# CI for omnet: builds the pinned seed-born Omega compiler (omega.pin) and runs every unit
2# suite through tools/test.sh on a GitHub-hosted arm64 runner. Go is installed only for the
3# differential oracles (om/json, cmd/tka); oracles never ship. A second job writes an SPDX
4# SBOM of the tree so auditors can diff what the repository contains at a given commit.
5name: CI
6on:
7 pull_request:
8 push:
9 branches: [main]
10permissions:
11 contents: read
12jobs:
13 test:
14 runs-on: ubuntu-24.04-arm
15 timeout-minutes: 45
16 steps:
17 - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
18 with:
19 persist-credentials: false
20 - uses: actions/setup-go@b7ad1dad31e06c5925ef5d2fc7ad053ef454303e # v7.0.0
21 with:
22 go-version: '1.26.8'
23 cache: false
24 - name: Toolchain record
25 run: |
26 cat omega.pin
27 go version
28 python3 --version
29 - name: Build the pinned omc and run every suite
30 run: sh tools/test.sh
31 sbom:
32 runs-on: ubuntu-latest
33 timeout-minutes: 10
34 steps:
35 - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
36 with:
37 persist-credentials: false
38 - uses: anchore/sbom-action@66cbf4bc1f1c0d2edc94016e65bc221b6bb0ad6c # v0.24.3
39 with:
40 path: .
41 format: spdx-json
42 artifact-name: sbom-${{ github.sha }}.spdx.json