Skip to content

Merge branch 'development' into security/add-permissions-to-ci #2726

Merge branch 'development' into security/add-permissions-to-ci

Merge branch 'development' into security/add-permissions-to-ci #2726

Workflow file for this run

name: Linux
on:
push:
branches-ignore: []
permissions:
contents: read
jobs:
style-check:
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v4
- name: Tabs
run: .github/workflows/style/check_tabs.py
editorconfig-compliance:
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v4
- name: update aptitude
run: sudo apt update
- name: installing npm
run: sudo apt install npm
- name: installing eclint
run: npm install -g eclint
- name: EditorConfigCompliance
run: eclint check src/
documentation-check:
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v4
- name: checking documentation coverage
run: python3 scripts/checkdoc.py
build-docs:
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v4
- name: installing preliminaries
run: bash .github/workflows/dependencies-ubuntu-24.04.sh
- name: make
run: bash .github/workflows/build-docs.sh
test-2d-22-04:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
- name: installing preliminaries
run: bash .github/workflows/dependencies-ubuntu-22.04.sh
- name: configure (2d)
run: ./configure --dim=2
- name: make
run: make
- name: regression tests
run: scripts/runtests.py --serial --no-coverage --dim=2 --benchmark=github --timeout=200 --no-backspace
- name: parallelism check
run: scripts/runtests.py tests/Unit/ --check-mpi --dim=2 --no-backspace
test-2d-24-04:
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v4
- name: installing preliminaries
run: bash .github/workflows/dependencies-ubuntu-24.04.sh
- name: configure (2d)
run: ./configure --dim=2
- name: make
run: make
- name: regression tests
run: scripts/runtests.py --serial --no-coverage --dim=2 --benchmark=github --timeout=200 --no-backspace
- name: parallelism check
run: scripts/runtests.py tests/Unit/ --check-mpi --dim=2 --no-backspace --mpirun-flags="--oversubscribe"
test-3d-24-04:
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v4
- name: installing preliminaries
run: bash .github/workflows/dependencies-ubuntu-24.04.sh
- name: configure
run: ./configure --dim=3
- name: make
run: make
- name: regression tests
run: scripts/runtests.py --serial --no-coverage --dim=3 --benchmark=github --timeout=200 --no-backspace
- name: parallelism check
run: scripts/runtests.py tests/Unit/ --check-mpi --dim=3 --no-backspace --mpirun-flags="--oversubscribe"
test-2d-24-04-clang:
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v4
- name: installing preliminaries
run: bash .github/workflows/dependencies-ubuntu-24.04.sh
- name: installing clang
run: sudo apt install clang
- name: configure (2d)
run: ./configure --dim=2 --comp=clang++ --perf
- name: make
run: make
- name: parallelism check
run: scripts/runtests.py tests/Unit/ --check-mpi --dim=2 --comp=clang++ --no-backspace --mpirun-flags="--oversubscribe" --perf
- name: regression tests
run: scripts/runtests.py --serial --no-coverage --dim=2 --benchmark=github --comp=clang++ --timeout=200 --no-backspace --perf
- name: create report
run: python3 scripts/package_report.py
- name: upload report
if: always()
uses: actions/upload-artifact@v4
with:
name: regression-report
path: report.tar.gz
test-2d-24-04-clang-fft:
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v4
- name: installing preliminaries
run: bash .github/workflows/dependencies-ubuntu-24.04.sh
- name: installing clang
run: sudo apt install clang
- name: installing fftw3
run: sudo apt install libfftw3-dev
- name: configure (2d)
run: ./configure --dim=2 --comp=clang++ --fft
- name: make
run: make
- name: regression tests
run: scripts/runtests.py --serial --no-coverage --comp=clang++ --timeout=200 --no-backspace --fft-only