name: Bigfoot on: push: branches: - '**' workflow_dispatch: jobs: build-and-test: runs-on: ubuntu-latest timeout-minutes: 120 container: image: git.romainboullard.com/bigfootdev/linuxcppbuilder:development strategy: matrix: build_type: - { value: "Debug", profile: "debug" } - { value: "RelWithDebInfo", profile: "relwithdebinfo" } - { value: "Release", profile: "release" } unity_build: ["ON", "OFF"] conan_profile: ["clang", "clang_asan"] variant: - { value: "True", name: "toolmode" } - { value: "False", name: "game" } name: "Build & Test ${{ matrix.build_type.value }} with ${{ matrix.conan_profile }} (Unity Build: ${{ matrix.unity_build }}, Variant: ${{ matrix.variant.name }})" 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: Build run: | bash ./generate_bigfoot.sh missing ${{ matrix.build_type.value }} --profile=${{ matrix.conan_profile }} --variant=${{ matrix.variant.name }} --unity=${{ matrix.unity_build }} --tracy=False . ./build-linux-${{ matrix.variant.name }}/build/${{ matrix.build_type.value }}/generators/conanbuild.sh cmake --build build-linux-${{ matrix.variant.name }}/${{ matrix.build_type.value }} --parallel $(nproc) . ./build-linux-${{ matrix.variant.name }}/build/${{ matrix.build_type.value }}/generators/deactivate_conanbuild.sh - name: Unit Tests run: | cd ./build-linux-${{ matrix.variant.name }}/${{ matrix.build_type.value }} . ../../build-linux-${{ matrix.variant.name }}/build/${{ matrix.build_type.value }}/generators/conanbuild.sh weston-run ctest . --output-on-failure . ../../build-linux-${{ matrix.variant.name }}/build/${{ matrix.build_type.value }}/generators/deactivate_conanbuild.sh clang-format: runs-on: ubuntu-latest timeout-minutes: 120 container: image: git.romainboullard.com/bigfootdev/linuxcppbuilder:main name: "Clang Format Checks" 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: Clang Format Checks run: chmod +x format.sh && ./format.sh --check Bigfoot