All checks were successful
Bigfoot / build-and-test (Debug, OFF) (push) Successful in 32s
Bigfoot / build-and-test (Debug, ON) (push) Successful in 26s
Bigfoot / build-and-test (RelWithDebInfo, OFF) (push) Successful in 27s
Bigfoot / build-and-test (RelWithDebInfo, ON) (push) Successful in 26s
Bigfoot / build-and-test (Release, ON) (push) Successful in 18s
Bigfoot / build-and-test (Release, OFF) (push) Successful in 19s
46 lines
1.5 KiB
YAML
46 lines
1.5 KiB
YAML
name: Bigfoot
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- '**'
|
|
workflow_dispatch:
|
|
|
|
env:
|
|
CCACHE_BASEDIR: ${{ github.workspace }}
|
|
|
|
jobs:
|
|
build-and-test:
|
|
runs-on: ubuntu-latest
|
|
timeout-minutes: 120
|
|
container:
|
|
image: git.romainboullard.com/bigfootdev/linuxbigfootbuilder:main
|
|
strategy:
|
|
matrix:
|
|
build_type: ["Debug", "RelWithDebInfo", "Release"]
|
|
unity_build: ["ON", "OFF"]
|
|
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: Show ccache stats before
|
|
run: ccache --zero-stats
|
|
|
|
- name: Build
|
|
run: |
|
|
conan install . --deployer=full_deploy --deployer-folder=build --remote=bigfootpackages -pr:h=clang -pr:b=clang --build=missing -s build_type=${{ matrix.build_type }} -o bigfoot/*:build_tests=True -o bigfoot/*:tracy=False -o bigfoot/*:build_tools=True -o bigfoot/*:vulkan=True -o bigfoot/*:build_benchmarks=True
|
|
cmake -S . -B ./build/${{ matrix.build_type }} --toolchain ./build/${{ matrix.build_type }}/generators/conan_toolchain.cmake -DCMAKE_BUILD_TYPE=${{ matrix.build_type }} -DCMAKE_UNITY_BUILD=${{ matrix.unity_build }} -G "Ninja"
|
|
cmake --build build/${{ matrix.build_type }} --parallel $(nproc)
|
|
|
|
- name: Show ccache stats after
|
|
run: ccache --show-stats
|
|
|
|
- name: Unit Tests
|
|
run: |
|
|
cd ./build/${{ matrix.build_type }}
|
|
xvfb-run ctest . --output-on-failure |