File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed
Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -39,15 +39,15 @@ jobs:
3939 with :
4040 path : ~/.opam
4141 key : ${{ matrix.version }}
42-
42+
4343 - name : Setup OPAM
4444 if : steps.cache-opam-restore.outputs.cache-hit != 'true'
4545 run : |
4646 opam init --yes --no-setup --shell=sh --compiler=${{ matrix.version }}
4747 eval $(opam env --switch=${{ matrix.version }})
4848 opam repo add --yes --this-switch coq-released https://coq.inria.fr/opam/released
4949 opam install --deps-only --yes ./cn.opam
50-
50+
5151 - name : Save OPAM cache
5252 uses : actions/cache/save@v4
5353 if : steps.cache-opam-restore.outputs.cache-hit != 'true'
8787 opam switch ${{ matrix.version }}
8888 eval $(opam env --switch=${{ matrix.version }})
8989 cd tests; ./run-cn-test-gen.sh
90-
90+
9191 - name : Run CN-Seq-Test-Gen CI tests
9292 run : |
9393 opam switch ${{ matrix.version }}
Original file line number Diff line number Diff line change 9696
9797 - name : Check Clang warnings
9898 run : |
99- find runtime/libcn/ -iname '*.c' | xargs clang-19 -I runtime/libcn/include/ -fsyntax-only - Werror -Wall
99+ find runtime/libcn/ -iname '*.c' -exec clang-19 -c - I runtime/libcn/include/ -Werror -Wall -o /dev/null {} ';'
100100
101101 gcc-warnings :
102102 name : GCC warnings
@@ -115,7 +115,7 @@ jobs:
115115
116116 - name : Check GCC warnings
117117 run : |
118- find runtime/libcn/ -iname '*.c' | xargs gcc -I runtime/libcn/include/ -fsyntax-only - Werror -Wall
118+ find runtime/libcn/ -iname '*.c' -exec gcc -c - I runtime/libcn/include/ -Werror -Wall -o /dev/null {} ';'
119119
120120 shellcheck :
121121 name : ShellCheck
You can’t perform that action at this time.
0 commit comments