Skip to content

Commit

Permalink
WIP CI problem
Browse files Browse the repository at this point in the history
  • Loading branch information
stripe2933 committed May 19, 2024
1 parent 0aba1a0 commit faa9c4b
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions .github/workflows/linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,18 +12,20 @@ jobs:
strategy:
matrix:
compiler:
- c_compiler: gcc-14
cxx_compiler: g++-14
- c_compiler: clang-18
cxx_compiler: clang++-18
- { c_compiler: gcc-14, cxx_compiler: g++-14 }
- { c_compiler: clang-18, cxx_compiler: clang++-18 }

runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v4

- name: Setup LLVM and vcpkg
- name: Setup compiler and vcpkg
run: |
echo "CC=${{ matrix.compiler.c_compiler }}" >> "$GITHUB_ENV"
echo "CXX=${{ matrix.compiler.cxx_compiler }}" >> "$GITHUB_ENV"
cd $VCPKG_INSTALLATION_ROOT
git reset --hard
git pull
vcpkg update
- name: Install Vulkan SDK
Expand All @@ -32,9 +34,7 @@ jobs:
- name: Configure
run: |
mkdir build
CC=${{ matrix.compiler.c_compiler }} \
CXX=${{ matrix.compiler.cxx_compiler }} \
cmake -S . -B build \
cmake -S . -B build -G Ninja \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_TOOLCHAIN_FILE=$VCPKG_INSTALLATION_ROOT/scripts/buildsystems/vcpkg.cmake \
-DVKU_BUILD_EXAMPLES=ON
Expand Down

0 comments on commit faa9c4b

Please sign in to comment.