[CI] splitting CIs between backends
Mirror Gitea refs to GitHub / mirror (push) Successful in 10s
Docs and IR / build (push) Failing after 39s
Build and Test / build (push) Successful in 1m40s
Build and Test / build (push) Successful in 2m23s
Build and Test / build (push) Successful in 4m5s

This commit is contained in:
2026-09-05 14:33:18 +02:00
parent 81e3f0fbca
commit 9bb802e920
5 changed files with 89 additions and 67 deletions
@@ -1,4 +1,4 @@
name: Build
name: Docs and IR
on:
push:
@@ -18,40 +18,6 @@ jobs:
- uses: https://codeberg.org/mlugg/setup-zig@v2
- name: Install MPSS
run: |
set -euxo pipefail
apt update
apt install -y unzip curl
MPSS_URL="https://drive.kbz8.me/dav/public-files/KSKeiOKxnFPyfws/mpss.zip"
MPSS_ZIP="/tmp/mpss.zip"
MPSS_BIN="/opt/mpss/3.8.6/sysroots/k1om-mpss-linux/bin"
curl --fail --location --show-error --progress-bar "$MPSS_URL" -o "$MPSS_ZIP"
size="$(stat -c%s "$MPSS_ZIP")"
test "$size" -gt 300000000
unzip -t "$MPSS_ZIP" >/dev/null
rm -rf /opt/mpss
unzip -q "$MPSS_ZIP" -d /opt
chmod -R a+rX /opt/mpss
test -d "$MPSS_BIN"
# Append as fallback for following CI steps.
echo "PATH=$PATH:$MPSS_BIN" >> "$GITHUB_ENV"
echo "MPSS installed."
- name: Check MPSS PATH
run: |
echo "$PATH"
ls -la /opt/mpss/3.8.6/sysroots/k1om-mpss-linux/bin | head -50
- name: Check formatting
run: zig fmt --check src/
@@ -60,17 +26,8 @@ jobs:
curl -fsSL https://raw.githubusercontent.com/DonIsaac/zlint/refs/heads/main/tasks/install.sh | bash
zlint --deny-warnings
- name: Building Ape
run: zig build ape --release=safe
- name: Building Soft
run: zig build soft --release=safe
- name: Building Flint
run: zig build flint --release=safe
- name: Building Phi
run: zig build phi --release=safe
- name: Testing IR
run: zig build test-ir
- name: Generating docs
run: zig build docs
+34
View File
@@ -0,0 +1,34 @@
name: Build and Test
on:
push:
branches: ["master"]
pull_request:
branches: ["master"]
jobs:
build:
runs-on: ubuntu-latest
if: ${{ github.event_name != 'push' || !contains(github.event.head_commit.message, 'ci skip') }}
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: https://codeberg.org/mlugg/setup-zig@v2
- name: Building [debug]
run: zig build flint
- name: Building [release=fast]
run: zig build flint --release=fast
- name: Building [release=safe]
run: zig build flint --release=safe
- name: Building [release=small]
run: zig build flint --release=small
- name: Testing
run: zig build test-flint
@@ -1,4 +1,4 @@
name: Test
name: Build and Test
on:
push:
@@ -7,12 +7,15 @@ on:
branches: ["master"]
jobs:
build_and_test:
build:
runs-on: ubuntu-latest
if: "!contains(github.event.head_commit.message, 'ci skip') && !contains(github.event.head_commit.message, 'test skip')"
if: ${{ github.event_name != 'push' || !contains(github.event.head_commit.message, 'ci skip') }}
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: https://codeberg.org/mlugg/setup-zig@v2
- name: Install MPSS
@@ -49,20 +52,14 @@ jobs:
echo "$PATH"
ls -la /opt/mpss/3.8.6/sysroots/k1om-mpss-linux/bin | head -50
- name: Installing dependencies
run: apt update && apt install spirv-tools
- name: Building [release=fast]
run: zig build phi --release=fast
- name: Ape Tests
run: zig build test-ape --release=safe
- name: Building [release=safe]
run: zig build phi --release=safe
- name: Soft Tests
run: zig build test-soft --release=safe
- name: Building [release=small]
run: zig build phi --release=small
- name: Flint Tests
run: zig build test-flint --release=safe
- name: Phi Tests
run: zig build test-phi --release=safe
- name: IR Tests
run: zig build test-ir --release=safe
- name: Testing
run: zig build test-phi --release=fast
+34
View File
@@ -0,0 +1,34 @@
name: Build and Test
on:
push:
branches: ["master"]
pull_request:
branches: ["master"]
jobs:
build:
runs-on: ubuntu-latest
if: ${{ github.event_name != 'push' || !contains(github.event.head_commit.message, 'ci skip') }}
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: https://codeberg.org/mlugg/setup-zig@v2
- name: Building [debug]
run: zig build soft
- name: Building [release=fast]
run: zig build soft --release=fast
- name: Building [release=safe]
run: zig build soft --release=safe
- name: Building [release=small]
run: zig build soft --release=small
- name: Testing
run: zig build test-soft
+4 -4
View File
@@ -1,4 +1,4 @@
# Ape Vulkan ICD <a href="https://git.kbz8.me/kbz_8/VulkanDriver/actions?workflows=Build.yml"><img src="https://git.kbz8.me/kbz_8/VulkanDriver/actions/workflows/Build.yml/badge.svg"></a> <a href="https://git.kbz8.me/kbz_8/VulkanDriver/actions?workflows=Test.yml"><img src="https://git.kbz8.me/kbz_8/VulkanDriver/actions/workflows/Test.yml/badge.svg"></a>
# Ape Vulkan ICD <a href="https://git.kbz8.me/kbz_8/VulkanDriver/actions?workflows=DocsAndIR.yml"><img src="https://git.kbz8.me/kbz_8/VulkanDriver/actions/workflows/DocsAndIR.yml/badge.svg"></a>
<img align="right" width="250px" src="./logo.png"/>
@@ -14,7 +14,7 @@ To understand Vulkan - not as a humble API mere mortals call upon, but as a laby
It does not seek to produce a performant or production-worthy driver. \
_The gods are merciful, but not that merciful._
## Soft [software]
## Soft [software] <a href="https://git.kbz8.me/kbz_8/VulkanDriver/actions?workflows=Soft.yml"><img src="https://git.kbz8.me/kbz_8/VulkanDriver/actions/workflows/Soft.yml/badge.svg"></a>
Soft be a software implementation of the Vulkan specification, abiding within this driver's own codebase.\
It maketh use of a bespoke [SPIR-V interpreter](https://git.kbz8.me/kbz_8/SPIRV-Interpreter) and renderer, by whose workings its labours are carried forth.
@@ -222,7 +222,7 @@ Assume thou that functions lacking in this array are, for now, not intended to b
[Here](https://vulkan-driver.kbz8.me/cts/soft/) shalt thou find a most meticulous account of the Vulkan 1.0 conformance trials, set forth for thy scrutiny.
## Phi [Xeon Phi KNC]
## Phi [Xeon Phi KNC] <a href="https://git.kbz8.me/kbz_8/VulkanDriver/actions?workflows=Phi.yml"><img src="https://git.kbz8.me/kbz_8/VulkanDriver/actions/workflows/Phi.yml/badge.svg"></a>
Phi be an implementation of the Vulkan specification, wrought for the Xeon Phi Knights Corner cards.
Whether the Knights Landing cards shall one day receive the same providence remaineth to be seen.
@@ -429,7 +429,7 @@ Assume thou that functions lacking in this array are, for now, not intended to b
[The present reckoning](https://vulkan-driver.kbz8.me/cts/phi/) of thy Vulkan 1.0 implementation standeth thus.
## Flint [Intel]
## Flint [Intel] <a href="https://git.kbz8.me/kbz_8/VulkanDriver/actions?workflows=Flint.yml"><img src="https://git.kbz8.me/kbz_8/VulkanDriver/actions/workflows/Flint.yml/badge.svg"></a>
Flint be an implementation of the Vulkan specification, fashioned for the elder Intel iGPUs of generations 9 through 11.
Whether Haswell and those that followed-even the Xe kindred-shall one day partake of its workings remaineth unwritten.