Skip to content

Must Destroy OperatorField Objects #7198

Must Destroy OperatorField Objects

Must Destroy OperatorField Objects #7198

name: Style
on:
push:
branches:
- main
pull_request:
jobs:
test:
strategy:
matrix:
os: [ubuntu-24.04]
compiler: [clang]
runs-on: ${{ matrix.os }}
steps:
- name: Environment setup
uses: actions/checkout@v4
- name: Install clang-format
run: |
wget -O- https://apt.llvm.org/llvm-snapshot.gpg.key | sudo apt-key add -
sudo add-apt-repository 'deb http://apt.llvm.org/noble/ llvm-toolchain-noble-18 main'
sudo apt update && sudo apt install clang-format-18
- name: C style
env:
CC: ${{ matrix.compiler }}
FC: gfortran-11
run: |
make info
make format-c -j2 CLANG_FORMAT=clang-format-18 && git diff --exit-code