Skip to content

Device-callable coboundary #533

Device-callable coboundary

Device-callable coboundary #533

Workflow file for this run

# SPDX-FileCopyrightText: 2024 Baptiste Legouix
# SPDX-License-Identifier: MIT
name: test
on:
push: { branches: [ main ] }
pull_request:
concurrency:
group: ${{ github.workflow }}-${{ github.ref == github.ref_protected && github.run_id || github.event.pull_request.number || github.ref }}
cancel-in-progress: true
jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: DoozyX/clang-format-lint-action@v0.20
with:
source: 'examples/ src/similie/ tests/'
exclude: ''
extensions: 'hpp,cpp'
clangFormatVersion: 20
- name: Prefer 'if defined' over 'ifdef'
run: if grep -R "ifdef" examples/ src/similie/ tests/; then exit 1; fi
- name: Find modifications of Kokkos reserved macros
run: if grep -RE "(define|undef) KOKKOS_" examples/ src/similie/ tests/; then exit 1; fi
- name: REUSE Compliance Check
if: always()
uses: fsfe/reuse-action@v4