Skip to content

Commit

Permalink
Completely remove Ash CI
Browse files Browse the repository at this point in the history
  • Loading branch information
oddhack committed Jan 14, 2025
1 parent 814c382 commit 72247c4
Showing 1 changed file with 0 additions and 85 deletions.
85 changes: 0 additions & 85 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -135,62 +135,6 @@ jobs:
name: hpp-outputs
path: gen/include/

# Disable ash CI until issues in that repo are fixed
# ash-generate:
# name: Generate Rust bindings (Ash crate)
# runs-on: ubuntu-latest
# needs: spec-generate
# continue-on-error: true
# env:
# # Cached folder outside of git repo
# CARGO_TARGET_DIR: ${{ github.workspace }}/ash-target
#
# steps:
# - uses: actions/checkout@v4
# - uses: actions/checkout@v4
# with:
# repository: ash-rs/ash
# path: ash
# - uses: actions/cache@v4
# with:
# path: |
# ~/.cargo/bin/
# ~/.cargo/registry/index/
# ~/.cargo/registry/cache/
# ~/.cargo/git/db/
# ash-target/
# key: ${{ runner.os }}-cargo-ash-generator-${{ hashFiles('**/Cargo.toml', '.github/workflows/CI.yml') }}
# restore-keys: |
# ${{ runner.os }}-cargo-ash-generator-
# - name: Download generated spec
# uses: actions/download-artifact@v4
# with:
# name: spec-outputs
# - name: Unpack generated spec
# run: tar -xvf spec-outputs.tar
# - name: Prepare environment
# working-directory: ash
# run: |
# # Piece together minimal Vulkan-Headers - Ash only needs headers and vk.xml
# rm -rf generator/Vulkan-Headers/* # Should already be empty, just in case
# ln -s ${{ github.workspace }}/gen/include generator/Vulkan-Headers/ # Complete headers come from spec-generate
# ln -s ${{ github.workspace }}/xml generator/Vulkan-Headers/registry # vk.xml sits in the root of this spec repo
#
# - name: Generate Ash crate
# working-directory: ash
# run: |
# cargo run -p generator
# cargo fmt --all
#
# - name: Package generated Ash crate
# # https://github.com/actions/upload-artifact#limitations, see above
# run: tar -cvf ash-outputs.tar ash/
# - name: Upload generated ash
# uses: actions/upload-artifact@v4
# with:
# name: ash-outputs
# path: ash-outputs.tar

# Run the CTS Vulkan framework tests, to make sure XML changes will not
# cause problems there.
cts-framework-tests:
Expand Down Expand Up @@ -263,32 +207,3 @@ jobs:
- run: |
g++ -c -std=c++11 -Igen/include -IVulkan-Hpp -Wall -Wextra -Werror tests/hpptest.cpp
clang++ -c -std=c++11 -Igen/include -IVulkan-Hpp -Wall -Wextra -Werror tests/hpptest.cpp
# Disable ash CI until issues in that repo are fixed
# ash-compile:
# name: Build-test Rust bindings (Ash crate)
# runs-on: ubuntu-latest
# needs: ash-generate
# continue-on-error: true
#
# steps:
# - name: Download generated files
# uses: actions/download-artifact@v4
# with:
# name: ash-outputs
# - name: Unpack generated Ash crate
# run: tar -xvf ash-outputs.tar
# - uses: actions/cache@v4
# with:
# path: |
# ~/.cargo/bin/
# ~/.cargo/registry/index/
# ~/.cargo/registry/cache/
# ~/.cargo/git/db/
# ash/target/
# key: ${{ runner.os }}-cargo-ash-compile-${{ hashFiles('**/Cargo.toml', '.github/workflows/CI.yml') }}
# restore-keys: |
# ${{ runner.os }}-cargo-ash-compile-
# - name: Build-test ash crate
# working-directory: ash
# run: cargo clippy --all --all-targets

0 comments on commit 72247c4

Please sign in to comment.