diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index cbfeb72e..1230652f 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -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: