36 lines
647 B
YAML
36 lines
647 B
YAML
name: CI
|
|
|
|
on:
|
|
pull_request:
|
|
push:
|
|
tags:
|
|
- "**"
|
|
branches:
|
|
- main
|
|
- zig
|
|
schedule:
|
|
- cron: "0 0 * * *"
|
|
|
|
env:
|
|
BB_CI: 1
|
|
|
|
jobs:
|
|
ci:
|
|
strategy:
|
|
fail-fast: false
|
|
matrix:
|
|
os: [ ubuntu-latest ]
|
|
BIRTH_CMAKE_BUILD_TYPE: [ Debug, RelWithDebInfo, Release, MinSizeRel ]
|
|
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}}
|
|
run: |
|
|
./generate.sh
|
|
./build.sh
|
|
./build/bb test
|