diff --git a/.gitea/workflows/ci.yml b/.gitea/workflows/ci.yml index 632d7d2..f2f332c 100644 --- a/.gitea/workflows/ci.yml +++ b/.gitea/workflows/ci.yml @@ -11,14 +11,8 @@ jobs: runs-on: ubuntu-latest timeout-minutes: 120 container: - image: git.romainboullard.com/bigfootdev/linuxbigfootbuilder:main - volumes: - - /srv/romainboullard.com/caches/ccache:/ccache - env: - CCACHE_DIR: /ccache - CCACHE_MAXSIZE: 10G - CCACHE_BASEDIR: /root/.conan2 - CCACHE_COMPILERCHECK: "%compiler% -dumpversion" + image: git.romainboullard.com/bigfootdev/linuxcppbuilder:development + strategy: matrix: build_type: ["Debug", "RelWithDebInfo", "Release"] @@ -34,9 +28,6 @@ jobs: with: submodules: recursive - - name: Reset ccache stats - run: ccache --zero-stats - - name: Build run: | conan install . --remote=bigfootpackages -pr:h=${{ matrix.conan_profile }} -pr:b=./ConanProfiles/Tools/clang --build=* -s build_type=${{ matrix.build_type }} -o bigfoot/*:build_tests=True -o bigfoot/*:build_benchmarks=True -o bigfoot/*:tracy=False -o bigfoot/*:vulkan=True @@ -45,9 +36,6 @@ jobs: cmake --build build/${{ matrix.build_type }} --parallel $(nproc) . ./build/${{ matrix.build_type }}/generators/deactivate_conanbuild.sh - - name: Show ccache stats - run: ccache --show-stats - - name: Unit Tests run: | cd ./build/${{ matrix.build_type }} diff --git a/.gitea/workflows/sonarqube.yml b/.gitea/workflows/sonarqube.yml index 6b3a3cf..50c20ae 100644 --- a/.gitea/workflows/sonarqube.yml +++ b/.gitea/workflows/sonarqube.yml @@ -11,14 +11,8 @@ jobs: runs-on: ubuntu-latest timeout-minutes: 120 container: - image: git.romainboullard.com/bigfootdev/linuxbigfootbuilder:main - volumes: - - /srv/romainboullard.com/caches/ccache:/ccache - env: - CCACHE_DIR: /ccache - CCACHE_MAXSIZE: 10G - CCACHE_BASEDIR: /root/.conan2 - CCACHE_COMPILERCHECK: "%compiler% -dumpversion" + image: git.romainboullard.com/bigfootdev/linuxcppbuilder:development + name: "Sonarqube" steps: - name: Install Node.js @@ -30,9 +24,6 @@ jobs: fetch-depth: 0 submodules: recursive - - name: Reset ccache stats - run: ccache --zero-stats - - name: Build run: | conan install . --remote=bigfootpackages -pr:h=./ConanProfiles/clang_coverage -pr:b=./ConanProfiles/Tools/clang --build=* -s build_type=Debug -o bigfoot/*:build_tests=True -o bigfoot/*:build_benchmarks=True -o bigfoot/*:tracy=False -o bigfoot/*:build_tools=True -o bigfoot/*:vulkan=True @@ -41,9 +32,6 @@ jobs: cmake --build build/Debug --parallel $(nproc) . ./build/Debug/generators/deactivate_conanbuild.sh - - name: Show ccache stats - run: ccache --show-stats - - name: Clang-Tidy run: run-clang-tidy -p ./build/Debug/ >> tidy_result.txt