Add sycl/gen backend and other sycl changes (#1258) #153
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Style | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
jobs: | |
test: | |
strategy: | |
matrix: | |
os: [ubuntu-22.04] | |
compiler: [clang] | |
runs-on: ${{ matrix.os }} | |
steps: | |
- name: Environment setup | |
uses: actions/checkout@v3 | |
- name: Install clang-format | |
run: sudo apt update && sudo apt install clang-format-15 | |
- name: C style | |
env: | |
CC: ${{ matrix.compiler }} | |
FC: gfortran-11 | |
run: | | |
make info | |
make format-c -j2 CLANG_FORMAT=clang-format-15 && git diff --exit-code |