switching to master mustpasslist
Build / build (push) Successful in 1m4s
Test / build_and_test (push) Failing after 9m35s

This commit is contained in:
2026-05-06 19:10:32 +02:00
parent a5ff640aeb
commit efa67d81ba
4 changed files with 9 additions and 97 deletions
-81
View File
@@ -1,81 +0,0 @@
name: Vulkan 1.4 CTS
on:
workflow_dispatch:
jobs:
build_and_test:
runs-on: ubuntu-latest
if: "!contains(github.event.head_commit.message, 'ci skip')"
steps:
- uses: actions/checkout@v4
- uses: https://codeberg.org/mlugg/setup-zig@v2
- uses: actions/setup-node@v6
with:
node-version: 24
- name: Install system dependencies
run: |
apt update
apt install -y libgl1 libwayland-egl1 libwayland-cursor0 clang libwayland-server0
- name: Building
run: zig build
- name: Install Rust
uses: dtolnay/rust-toolchain@stable
with:
toolchain: stable
targets: x86_64-unknown-linux-gnu,wasm32-unknown-unknown
- uses: Swatinem/rust-cache@v2
with:
cache-all-crates: "true"
cache-on-failure: "false"
- name: Install cargo tools
uses: cargo-bins/cargo-binstall@main
- name: Install Dioxus
shell: bash
run: |
source $HOME/.cargo/env
cargo binstall dioxus-cli --no-confirm --force --version 0.7.3
echo "$HOME/.cargo/bin" >> $GITHUB_PATH
- name: Install deqp-runner
run: cargo install deqp-runner
- name: Verify installations
shell: bash
run: |
source $HOME/.cargo/env
echo "Verifying tool installations..."
which dx && dx --version || echo "dioxus-cli not found"
which deqp-runner && deqp-runner --version || echo "deqp-runner not found"
- name: Run Vulkan CTS
run: zig build cts-soft --release=fast -- --mustpass-list=master -j3
continue-on-error: true
- name: Verify tests
run: ls cts | grep "results.csv"
- name: Cloning CTS viewer
run: git clone https://git.kbz8.me/kbz_8/VulkanCTSViewer.git
- name: Build CTS viewer
env:
URL: https://vulkan-driver-1-4-cts-report.kbz8.me/
run: |
cd VulkanCTSViewer
zip ./assets/results.zip ../cts/results.csv
dx build --verbose --platform web --release
- name: Publish to Cloudflare Pages
uses: cloudflare/wrangler-action@v3
with:
apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }}
accountId: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}
command: pages deploy VulkanCTSViewer/target/dx/vulkan-cts-analyzer/release/web/public --project-name=vulkan-driver-1-4-cts-report
gitHubToken: ${{ secrets.GITHUB_TOKEN }}
+1 -1
View File
@@ -46,7 +46,7 @@ jobs:
shell: bash shell: bash
run: | run: |
source $HOME/.cargo/env source $HOME/.cargo/env
cargo binstall dioxus-cli --no-confirm --force --version 0.7.3 cargo binstall dioxus-cli --no-confirm --force --version 0.7.6
echo "$HOME/.cargo/bin" >> $GITHUB_PATH echo "$HOME/.cargo/bin" >> $GITHUB_PATH
- name: Install deqp-runner - name: Install deqp-runner
+3 -13
View File
@@ -224,12 +224,7 @@ fn addCTS(b: *std.Build, target: std.Build.ResolvedTarget, impl: *const Implemen
}, },
})); }));
const mustpass = try cts.path( const mustpass = try cts.path("mustpass/master/vk-default.txt").getPath3(b, null).toString(b.allocator);
b.fmt("mustpass/{}.{}.2/vk-default.txt", .{
impl.vulkan_version.major,
impl.vulkan_version.minor,
}),
).getPath3(b, null).toString(b.allocator);
const cts_exe_path = try cts_exe_name.getPath3(b, null).toString(b.allocator); const cts_exe_path = try cts_exe_name.getPath3(b, null).toString(b.allocator);
@@ -315,15 +310,10 @@ fn addMultithreadedCTS(b: *std.Build, target: std.Build.ResolvedTarget, impl: *c
} }
} }
const mustpass_path = try cts.path( const mustpass_path = try cts.path(if (mustpass_override) |override|
if (mustpass_override) |override|
b.fmt("mustpass/{s}/vk-default.txt", .{override}) b.fmt("mustpass/{s}/vk-default.txt", .{override})
else else
b.fmt("mustpass/{}.{}.2/vk-default.txt", .{ "mustpass/master/vk-default.txt").getPath3(b, null).toString(b.allocator);
impl.vulkan_version.major,
impl.vulkan_version.minor,
}),
).getPath3(b, null).toString(b.allocator);
const cts_exe_path = try cts_exe_name.getPath3(b, null).toString(b.allocator); const cts_exe_path = try cts_exe_name.getPath3(b, null).toString(b.allocator);
const run = b.addSystemCommand(&[_][]const u8{"deqp-runner"}); const run = b.addSystemCommand(&[_][]const u8{"deqp-runner"});
+3
View File
@@ -13,6 +13,9 @@ pub const Interface = base.Buffer;
interface: Interface, interface: Interface,
pub fn create(device: *base.Device, allocator: std.mem.Allocator, info: *const vk.BufferCreateInfo) VkError!*Self { pub fn create(device: *base.Device, allocator: std.mem.Allocator, info: *const vk.BufferCreateInfo) VkError!*Self {
if (info.size > lib.MAX_MEMORY_ALLOCATION_SIZE)
return VkError.OutOfDeviceMemory;
const self = allocator.create(Self) catch return VkError.OutOfHostMemory; const self = allocator.create(Self) catch return VkError.OutOfHostMemory;
errdefer allocator.destroy(self); errdefer allocator.destroy(self);