Some checks failed
CI / verifier (Debug, ubuntu-latest) (pull_request) Has been cancelled
CI / verifier (Release, ubuntu-latest) (pull_request) Has been cancelled
CI / ci (Release, ubuntu-latest) (pull_request) Has been cancelled
CI / ci (Debug, ubuntu-latest) (pull_request) Has been cancelled
56 lines
1.3 KiB
YAML
56 lines
1.3 KiB
YAML
name: CI
|
|
|
|
on:
|
|
pull_request:
|
|
push:
|
|
tags:
|
|
- "**"
|
|
branches:
|
|
- main
|
|
schedule:
|
|
- cron: "0 0 * * *"
|
|
|
|
env:
|
|
BB_CI: 1
|
|
|
|
jobs:
|
|
ci:
|
|
strategy:
|
|
fail-fast: false
|
|
matrix:
|
|
os: [ ubuntu-latest ]
|
|
BIRTH_CMAKE_BUILD_TYPE: [ Debug, Release ]
|
|
runs-on: ${{ matrix.os }}
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
- name: Build and test (Packaged LLVM)
|
|
shell: bash
|
|
env:
|
|
BB_CI: 1
|
|
CMAKE_BUILD_TYPE: ${{matrix.BIRTH_CMAKE_BUILD_TYPE}}
|
|
CLANG_PATH: clang-19
|
|
CLANGXX_PATH: clang++-19
|
|
run: |
|
|
set -eu
|
|
./generate.sh
|
|
./build.sh
|
|
./build/bb test
|
|
mkdir -p $HOME/bloat-buster-artifacts/$(git rev-parse --abbrev-ref HEAD)/$(git rev-parse HEAD)/$CMAKE_BUILD_TYPE
|
|
mv ./self-hosted-bb-cache $HOME/bloat-buster-artifacts/$(git rev-parse --abbrev-ref HEAD)/$(git rev-parse HEAD)/$CMAKE_BUILD_TYPE/cache
|
|
verifier:
|
|
needs: ci
|
|
strategy:
|
|
fail-fast: false
|
|
matrix:
|
|
os: [ ubuntu-latest ]
|
|
BIRTH_CMAKE_BUILD_TYPE: [ Debug, Release ]
|
|
runs-on: ${{ matrix.os }}
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
- name: Verify
|
|
shell: bash
|
|
env:
|
|
BB_CI: 1
|
|
run: |
|
|
./verify.sh
|