Skip to content

Commit

Permalink
WIP: enabled CI test using llvmpipe.
Browse files Browse the repository at this point in the history
  • Loading branch information
stripe2933 committed Aug 31, 2024
1 parent baa1887 commit 6407520
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 8 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/linux-test.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Linux
name: Linux (Test)

env:
VCPKG_BINARY_SOURCES: "clear;x-gha,readwrite"
Expand Down Expand Up @@ -45,7 +45,9 @@ jobs:
- name: Apply patch for vcpkg-based dependency management
run: git apply vcpkg-deps.patch .github/workflows/ci-fix.patch

- name: Run CTest
- name: Configure and Run CTest
run: |
mv .github/workflows/CMakeUserPresets.json .
cmake --preset=clang-libcxx-test \
-DVKU_USE_STD_MODULE=ON
ctest --preset=clang-libcxx
14 changes: 8 additions & 6 deletions .github/workflows/windows-test.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Windows
name: Windows (Test)

env:
VCPKG_BINARY_SOURCES: "clear;x-gha,readwrite"
Expand Down Expand Up @@ -36,6 +36,9 @@ jobs:
cd vcpkg && .\bootstrap-vcpkg.bat
echo "VCPKG_ROOT=${{ github.workspace }}/vcpkg" >> $GITHUB_ENV
- name: Install Mesa Vulkan drivers (Windows)
uses: ssciwr/setup-mesa-dist-win@v2

- name: Export GitHub Actions cache environment variables
uses: actions/github-script@v7
with:
Expand All @@ -46,10 +49,9 @@ jobs:
- name: Apply patch for vcpkg-based dependency management
run: git apply vcpkg-deps.patch .github/workflows/ci-fix.patch --whitespace=fix

- name: Install Mesa Vulkan drivers (Windows)
uses: ssciwr/setup-mesa-dist-win@v2

- name: Run CTest
- name: Configure and Run CTest
run: |
mv .github/workflows/CMakeUserPresets.json .
mv .github\workflows\CMakeUserPresets.json .\
cmake --preset=msvc `
-DVKU_USE_STD_MODULE=ON
ctest --preset=msvc

0 comments on commit 6407520

Please sign in to comment.