Skip to content

Commit

Permalink
GitLab CI: Build with clang 16 on SteamOS
Browse files Browse the repository at this point in the history
  • Loading branch information
jhasse committed Oct 24, 2024
1 parent e31fb31 commit 272ec0d
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,13 +45,14 @@ steamos:
image: registry.gitlab.steamos.cloud/steamrt/sniper/sdk
stage: build
script:
- cd /usr/local/include
- curl --silent -O -L https://boostorg.jfrog.io/artifactory/main/release/1.80.0/source/boost_1_80_0.tar.bz2
- tar -xf *.tar.bz2 --strip-components=1 boost_1_80_0/boost
- cd -
- cmake -Bbuild-steamos -GNinja -DCMAKE_BUILD_TYPE=Debug -DBUILD_TESTING=0
- apt-get install -y libboost-dev libc++abi-16-dev libc++-16-dev clang-16
- export LDFLAGS=-static-libstdc++
- export CXXFLAGS=-stdlib=libc++
- export CC=clang-16
- export CXX=clang++-16
- cmake -Bbuild-steamos -GNinja -DCMAKE_BUILD_TYPE=Debug
- cmake --build build-steamos
- cmake -Bbuild-steamos-release -GNinja -DCMAKE_BUILD_TYPE=Release -DBUILD_TESTING=0 -DJNGL_VIDEO=0 -DJNGL_BUILD_WEBP_FROM_SOURCE=1 -DBUILD_SHARED_LIBS=0
- cmake -Bbuild-steamos-release -GNinja -DCMAKE_BUILD_TYPE=Release -DJNGL_VIDEO=0 -DJNGL_BUILD_WEBP_FROM_SOURCE=1 -DBUILD_SHARED_LIBS=0
- cmake --build build-steamos-release

web:
Expand Down

0 comments on commit 272ec0d

Please sign in to comment.