diff --git a/.github/workflows/Linux_build.yml b/.github/workflows/Linux_build.yml index bcf06a345..49a34a0f4 100644 --- a/.github/workflows/Linux_build.yml +++ b/.github/workflows/Linux_build.yml @@ -51,12 +51,8 @@ jobs: # run: ./xb lint --all build-linux: - name: Build (Linux, LLVM ${{ matrix.llvm_version }}) # runner.os can't be used here + name: Build (Linux) # runner.os can't be used here # needs: lint - strategy: - fail-fast: false - matrix: - llvm_version: [15] #[15, 16, 17, 18, 19] runs-on: ubuntu-24.04 steps: - uses: actions/checkout@main @@ -64,7 +60,7 @@ jobs: fetch-depth: 0 - name: Set environment variables run: | - LLVM_VERSION=${{ matrix.llvm_version }} + LLVM_VERSION=19 echo "LLVM_VERSION=$LLVM_VERSION" >> $GITHUB_ENV echo "UBUNTU_BASE=jammy" >> $GITHUB_ENV echo "CC=clang-${LLVM_VERSION}" >> $GITHUB_ENV diff --git a/premake5.lua b/premake5.lua index c3b79a592..c49201f6c 100644 --- a/premake5.lua +++ b/premake5.lua @@ -140,6 +140,7 @@ filter({"platforms:Linux", "language:C++", "toolset:clang"}) filter({"platforms:Linux", "language:C++", "toolset:clang", "files:*.cc or *.cpp"}) buildoptions({ "-stdlib=libstdc++", + "-std=c++20", -- clang doesn't respect cppdialect(?) }) filter("platforms:Android-*")