Skip to content

WIP: enabled CI test using llvmpipe. #1

WIP: enabled CI test using llvmpipe.

WIP: enabled CI test using llvmpipe. #1

Workflow file for this run

name: Linux
env:
VCPKG_BINARY_SOURCES: "clear;x-gha,readwrite"
on:
push:
paths:
- '**'
- '!README.md'
- '!LICENSE.txt'
- '!.github/workflows/*.yml'
- '.github/workflows/linux-test.yml'
jobs:
build:
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v4
- name: Install Vulkan SDK
uses: humbletim/setup-vulkan-sdk@v1.2.0
with:
vulkan-query-version: latest
vulkan-components: Vulkan-Headers, Vulkan-Loader
vulkan-use-cache: true
- name: Install Ninja and build dependencies
run: |
sudo apt-get install ninja-build libc++-dev libc++abi-dev mesa-vulkan-drivers
- name: Install vcpkg
run: |
git clone https://github.com/microsoft/vcpkg.git
cd vcpkg && ./bootstrap-vcpkg.sh
echo "VCPKG_ROOT=${{ github.workspace }}/vcpkg" >> $GITHUB_ENV
- name: Export GitHub Actions cache environment variables
uses: actions/github-script@v7
with:
script: |
core.exportVariable('ACTIONS_CACHE_URL', process.env.ACTIONS_CACHE_URL || '');
core.exportVariable('ACTIONS_RUNTIME_TOKEN', process.env.ACTIONS_RUNTIME_TOKEN || '');
- name: Apply patch for vcpkg-based dependency management
run: git apply vcpkg-deps.patch .github/workflows/ci-fix.patch
- name: Run CTest
run: |
mv .github/workflows/CMakeUserPresets.json .
ctest --preset=clang-libcxx