Skip to content

per-commit

per-commit #5

Workflow file for this run

name: "Per-commit ns-3 CI jobs"
run-name: "per-commit"
on:
push:
branches: [develop]
pull_request:
branches: [develop]
workflow_dispatch:
jobs:
code-format:
uses: ./.github/workflows/.code-format.yml
compile:
needs: code-format
strategy:
matrix:
compiler: [g++]
mode: [default, optimized]
do_test: [test]
include:
- compiler: clang++
mode: debug
- compiler: g++
mode: debug
- compiler: g++ # this job is the longest (~ 30 min)
mode: debug
extra_options: --disable-precompiled-headers
- compiler: g++
mode: debug
extra_options: --disable-asserts
uses: ./.github/workflows/.base-per-commit.yml
with:
compiler: ${{ matrix.compiler }}
mode: ${{ matrix.mode }}
extra_options: ${{ matrix.extra_options }}
do_test: ${{ matrix.do_test }}
code-linting:
needs: compile
uses: ./.github/workflows/.code-linting.yml
documentation:
needs: code-linting
uses: ./.github/workflows/.documentation.yml