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
omega-mv / .github / workflows / vkspirv-lavapipe.yml
| 1 | # vkspirv-lavapipe: runs seed/spirv/gate-vkspirv.sh on a GitHub-hosted ubuntu-24.04-arm machine with |
| 2 | # Mesa lavapipe (Vulkan on CPU) as the only Vulkan driver. The committed seed/out/omc (sha pinned by the |
| 3 | # gate) builds the translator and the native comparison programs; spirv-val, the Vulkan loader and |
| 4 | # lavapipe are distro oracles whose versions the gate logs. PortLab kernels are not in this repository, |
| 5 | # so the job requires exit 3 with the portlab rows as the only NOT_RUN line. CPU evidence only, never GPU |
| 6 | # qualification. Advisory, like AIEN Checks: GitHub gates no merge (Alpha does). |
| 7 | name: vkspirv-lavapipe |
| 8 | on: |
| 9 | pull_request: |
| 10 | paths: ["seed/spirv/**", "seed/wasm/**", "seed/out/omc", "tests/one_layer/omegese/dev/**", ".github/workflows/vkspirv-lavapipe.yml"] |
| 11 | push: |
| 12 | branches: [main] |
| 13 | permissions: |
| 14 | contents: read |
| 15 | jobs: |
| 16 | lavapipe: |
| 17 | runs-on: ubuntu-24.04-arm |
| 18 | timeout-minutes: 45 |
| 19 | steps: |
| 20 | - uses: actions/checkout@v7 |
| 21 | - name: oracles |
| 22 | run: | |
| 23 | sudo apt-get update -q |
| 24 | sudo apt-get install -y -q --no-install-recommends spirv-tools libvulkan-dev mesa-vulkan-drivers |
| 25 | dpkg-query -W spirv-tools libvulkan1 libvulkan-dev mesa-vulkan-drivers |
| 26 | ls /usr/share/vulkan/icd.d/ |
| 27 | - name: gate-vkspirv |
| 28 | run: | |
| 29 | set +e |
| 30 | sh seed/spirv/gate-vkspirv.sh > gate.out 2>&1 |
| 31 | rc=$? |
| 32 | set -e |
| 33 | cat gate.out |
| 34 | test "$rc" = 3 |
| 35 | test "$(grep -c '^NOT_RUN' gate.out)" = 1 |
| 36 | grep -q '^NOT_RUN portlab rows=24 ' gate.out |
| 37 | grep -q '^SUMMARY modules=' gate.out |
| 38 | - name: replay bundle (modules, inputs, native expectations for other Vulkan drivers) |
| 39 | run: | |
| 40 | cd build/seed/vkspirv |
| 41 | { echo replay.tsv; cut -f1,4,5 replay.tsv | tr '\t' '\n'; } | sort -u > replay.files |
| 42 | tar cf ../../../vkreplay.tar -T replay.files |
| 43 | sha256sum ../../../vkreplay.tar |
| 44 | - uses: actions/upload-artifact@v7 |
| 45 | if: always() |
| 46 | with: |
| 47 | name: vkspirv-lavapipe |
| 48 | path: | |
| 49 | gate.out |
| 50 | build/seed/vkspirv/gate.log |
| 51 | vkreplay.tar |