Skip to content

ci: Migrate to github/RBE (+ cleanup/fix CI) #16

ci: Migrate to github/RBE (+ cleanup/fix CI)

ci: Migrate to github/RBE (+ cleanup/fix CI) #16

Workflow file for this run

name: Nighthawk/Test CI/CD
permissions:
contents: read
on:
pull_request:
push:
branches:
- main
concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
cancel-in-progress: true
jobs:
check:
strategy:
fail-fast: false
matrix:
target:
- build
- check_format
uses: ./.github/workflows/_ci.yml
with:
task: ${{ matrix.target }}
permissions:
contents: read
packages: read
test:
needs: check
strategy:
fail-fast: false
matrix:
target:
- benchmark_with_own_binaries
- test
- test_gcc
uses: ./.github/workflows/_ci.yml
with:
task: ${{ matrix.target }}
permissions:
contents: read
packages: read
sanitizers:
needs: test
strategy:
fail-fast: false
matrix:
target:
- asan
- tsan
uses: ./.github/workflows/_ci.yml
with:
task: ${{ matrix.target }}
permissions:
contents: read
packages: read
release:
needs: sanitizers
# if: github.event_name == 'push'
uses: ./.github/workflows/_ci.yml
with:
task: docker
docker-in-docker: true
# secrets:
# dockerhub-username: ${{ secrets.DOCKERHUB_USERNAME }}
# dockerhub-password: ${{ secrets.DOCKERHUB_PASSWORD }}
permissions:
contents: read
packages: read