interplane.Get Omega
Read in your language

omega-mv

Omega: a language for verified programs, semantic identity and machine realization. Seed-born work and existing implementations have distinct provenance.

Brought by drakestapleton

branch main Branches Tags History

omega-mv / .github / workflows / om-profile-arm64.yml

45 lines · 2059 bytes Raw Blame History
1# om-profile-arm64: DRA-419 critical source profile on a GitHub-hosted ubuntu-24.04-arm machine with the
2# pinned omc (om/units.sh OMC_PIN): seed/profile/check.om runs the rule fixtures, capacity and stop rows,
3# one profile.om mutant per rule (five for B2), the authority unit profile, the seven authority regression
4# gates and the two pre-fix negative controls.
5# Weekly schedule catches drift in seed/effects/effects.om or the authority modules that PR paths miss.
6# Advisory, like AIEN Checks: GitHub gates no merge (Alpha does).
7name: om-profile-arm64
8on:
9 pull_request:
10 paths: ["seed/profile/**", "seed/authority/**", "seed/effects/effects.om", "seed/qualification/om2/gate.om", "seed/out/omc", "om/units.sh", ".github/workflows/om-profile-arm64.yml"]
11 push:
12 branches: [main]
13 schedule:
14 - cron: "17 5 * * 1"
15 workflow_dispatch:
16permissions:
17 contents: read
18jobs:
19 om-profile:
20 runs-on: ubuntu-24.04-arm
21 timeout-minutes: 30
22 steps:
23 - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
24 - name: machine
25 run: uname -a; nproc
26 - name: omc pin
27 run: |
28 pin=$(sed -n 's/^OMC_PIN=//p' om/units.sh | tr -d '"')
29 got=$(sha256sum seed/out/omc | cut -c1-64)
30 echo "pin $pin"; echo "got $got"
31 [ "$pin" = "$got" ] || { echo "seed/out/omc does not match OMC_PIN"; exit 1; }
32 chmod +x seed/out/omc
33 - name: critical profile and authority gates
34 run: mkdir -p build/seed && seed/out/omc < seed/profile/check.om > build/seed/profile-check && chmod +x build/seed/profile-check && build/seed/profile-check 2>&1 | tee build/om-profile.log; test "${PIPESTATUS[0]}" = 0
35 shell: bash
36 - name: logs
37 if: always()
38 uses: actions/upload-artifact@cf430e030ddbb5b0abf93d22962f4752f3646cd9 # v7.0.2
39 with:
40 name: om-profile-arm64-logs
41 path: |
42 build/om-profile.log
43 build/seed/profile/*.log
44 build/seed/profile/*.out
45 build/seed/profile/unit.txt