per job ccache
Some checks failed
Bigfoot / Clang Format Checks (push) Successful in 10s
Bigfoot / Build & Test Debug with ./ConanProfiles/clang (Unity Build: ON) (push) Has been skipped
Bigfoot / Build & Test Debug with ./ConanProfiles/clang_asan (Unity Build: OFF) (push) Has been skipped
Bigfoot / Build & Test Debug with ./ConanProfiles/clang_asan (Unity Build: ON) (push) Has been skipped
Bigfoot / Build & Test RelWithDebInfo with ./ConanProfiles/clang (Unity Build: OFF) (push) Has been skipped
Bigfoot / Build & Test RelWithDebInfo with ./ConanProfiles/clang (Unity Build: ON) (push) Has been skipped
Bigfoot / Build & Test RelWithDebInfo with ./ConanProfiles/clang_asan (Unity Build: OFF) (push) Has been skipped
Bigfoot / Build & Test RelWithDebInfo with ./ConanProfiles/clang_asan (Unity Build: ON) (push) Has been skipped
Bigfoot / Build & Test Release with ./ConanProfiles/clang (Unity Build: OFF) (push) Has been skipped
Bigfoot / Build & Test Release with ./ConanProfiles/clang (Unity Build: ON) (push) Has been skipped
Bigfoot / Build & Test Release with ./ConanProfiles/clang_asan (Unity Build: OFF) (push) Has been skipped
Bigfoot / Build & Test Release with ./ConanProfiles/clang_asan (Unity Build: ON) (push) Has been skipped
Bigfoot / Build & Test Debug with ./ConanProfiles/clang (Unity Build: OFF) (push) Has been cancelled
Bigfoot / Build And Upload Conan Dependencies to BigfootPackages (push) Has been cancelled

This commit is contained in:
2026-04-14 17:30:20 +02:00
parent fb259cae7c
commit f1b54d9e16
2 changed files with 69 additions and 24 deletions

View File

@@ -6,13 +6,6 @@ on:
- '**'
workflow_dispatch:
env:
CCACHE_DIR: /ccache
CCACHE_MAXSIZE: 10G
CCACHE_BASEDIR: /root/.conan2/p
CCACHE_NOHASHDIR: "true"
CCACHE_COMPILERCHECK: "%compiler% -dumpversion"
jobs:
conan-dependencies:
runs-on: ubuntu-latest
@@ -24,6 +17,12 @@ jobs:
env:
ARTIFACTORY_USER: ${{ secrets.ARTIFACTORY_USER }}
ARTIFACTORY_PASSWORD: ${{ secrets.ARTIFACTORY_PASSWORD }}
CCACHE_DIR: /ccache
CCACHE_MAXSIZE: 10G
CCACHE_BASEDIR: /root/.conan2/p
CCACHE_NOHASHDIR: "true"
CCACHE_COMPILERCHECK: "%compiler% -dumpversion"
name: "Build And Upload Conan Dependencies to BigfootPackages"
steps:
- name: Install Node.js
@@ -72,6 +71,10 @@ jobs:
image: git.romainboullard.com/bigfootdev/linuxbigfootbuilder:main
volumes:
- /srv/romainboullard.com/caches/ccache:/ccache
env:
CCACHE_DIR: /ccache
CCACHE_MAXSIZE: 10G
CCACHE_COMPILERCHECK: "%compiler% -dumpversion"
strategy:
matrix:
build_type: ["Debug", "RelWithDebInfo", "Release"]

View File

@@ -6,12 +6,61 @@ on:
- main
- Development
env:
CCACHE_DIR: /ccache
CCACHE_MAXSIZE: 10G
CCACHE_BASEDIR: /root/.conan2/p
CCACHE_NOHASHDIR: "true"
CCACHE_COMPILERCHECK: "%compiler% -dumpversion"
conan-dependencies:
runs-on: ubuntu-latest
timeout-minutes: 120
container:
image: git.romainboullard.com/bigfootdev/linuxbigfootbuilder:main
volumes:
- /srv/romainboullard.com/caches/ccache:/ccache
env:
ARTIFACTORY_USER: ${{ secrets.ARTIFACTORY_USER }}
ARTIFACTORY_PASSWORD: ${{ secrets.ARTIFACTORY_PASSWORD }}
CCACHE_DIR: /ccache
CCACHE_MAXSIZE: 10G
CCACHE_BASEDIR: /root/.conan2/p
CCACHE_NOHASHDIR: "true"
CCACHE_COMPILERCHECK: "%compiler% -dumpversion"
name: "Build And Upload Conan Dependencies to BigfootPackages"
steps:
- name: Install Node.js
run: apt-get update && apt-get install -y nodejs
- name: Checkout repository
uses: actions/checkout@v6
with:
submodules: recursive
- name: Reset ccache stats
run: ccache --zero-stats
- name: Build
run: |
for build_type in Debug RelWithDebInfo Release; do
conan install . --remote=bigfootpackages \
-pr:h=./ConanProfiles/clang -pr:b=./ConanProfiles/clang \
--build=missing \
-s build_type=$build_type \
-o bigfoot/*:build_tests=True \
-o bigfoot/*:tracy=False \
-o bigfoot/*:build_tools=True \
-o bigfoot/*:vulkan=True
done
conan install . --remote=bigfootpackages \
-pr:h=./ConanProfiles/clang_asan -pr:b=./ConanProfiles/clang_asan \
--build=missing \
-s build_type=$build_type \
-o bigfoot/*:build_tests=True \
-o bigfoot/*:tracy=False \
-o bigfoot/*:build_tools=True \
-o bigfoot/*:vulkan=True
- name: Show ccache stats
run: ccache --show-stats
- name: Upload
run: CONAN_LOGIN_USERNAME=${ARTIFACTORY_USER} CONAN_PASSWORD=${ARTIFACTORY_PASSWORD} conan upload "*" -r bigfootpackages --confirm
jobs:
build-and-test:
@@ -21,6 +70,10 @@ jobs:
image: git.romainboullard.com/bigfootdev/linuxbigfootbuilder:main
volumes:
- /srv/romainboullard.com/caches/ccache:/ccache
env:
CCACHE_DIR: /ccache
CCACHE_MAXSIZE: 10G
CCACHE_COMPILERCHECK: "%compiler% -dumpversion"
name: "Sonarqube"
steps:
- name: Install Node.js
@@ -35,17 +88,6 @@ jobs:
- name: Reset ccache stats
run: ccache --zero-stats
- name: Build And Upload Conan Dependencies
run: |
conan install . --remote=bigfootpackages -pr:h=./ConanProfiles/clang_coverage -pr:b=./ConanProfiles/clang_coverage --build=missing -s build_type=Debug -o bigfoot/*:build_tests=True -o bigfoot/*:tracy=False -o bigfoot/*:build_tools=True -o bigfoot/*:vulkan=True
conan upload "*" -r bigfootpackages --confirm
- name: Show ccache stats
run: ccache --show-stats
- name: Reset ccache stats
run: ccache --zero-stats
- name: Build
run: |
conan install . --remote=bigfootpackages -pr:h=./ConanProfiles/clang_coverage -pr:b=./ConanProfiles/clang_coverage --build=never -s build_type=Debug -o bigfoot/*:build_tests=True -o bigfoot/*:tracy=False -o bigfoot/*:build_tools=True -o bigfoot/*:vulkan=True