Skip to content

Commit

Permalink
ci: update paths
Browse files Browse the repository at this point in the history
  • Loading branch information
ttytm committed Jul 11, 2023
1 parent 5ced637 commit f112571
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ jobs:
run: cp -r ${{ env.REPO }} ${{ env.MOD_PATH }}

- name: Build
run: v -cg -shared ${{ env.REPO }}
run: v -cg -shared ${{ env.MOD_PATH }}

test:
needs: simple-build
Expand All @@ -91,7 +91,7 @@ jobs:
run: cp -r ${{ env.REPO }} ${{ env.MOD_PATH }}

- name: Run tests
run: v test ${{ env.REPO }}
run: v test ${{ env.MOD_PATH }}

different-compilers:
needs: simple-build
Expand Down Expand Up @@ -121,7 +121,7 @@ jobs:
run: cp -r ${{ env.REPO }} ${{ env.MOD_PATH }}

- name: ${{ matrix.compiler }} ${{ matrix.trimming }} ${{ matrix.optimization }} build
run: v -cg -shared -cc ${{ matrix.compiler }} ${{ matrix.trimming }} ${{ matrix.optimization }} ${{ env.REPO }}
run: v -cg -shared -cc ${{ matrix.compiler }} ${{ matrix.trimming }} ${{ matrix.optimization }} ${{ env.MOD_PATH }}

clang-sanitizers:
needs: different-compilers
Expand Down Expand Up @@ -149,7 +149,7 @@ jobs:
run: cp -r ${{ env.REPO }} ${{ env.MOD_PATH }}

- name: Clang ${{ matrix.sanitizer }} sanitizer
run: v -cc clang -cflags -fsanitize=${{ matrix.sanitizer }} test ${{ env.REPO }}
run: v -cc clang -cflags -fsanitize=${{ matrix.sanitizer }} test ${{ env.MOD_PATH }}

gcc-sanitizers:
needs: different-compilers
Expand Down Expand Up @@ -182,7 +182,7 @@ jobs:
run: cp -r ${{ env.REPO }} ${{ env.MOD_PATH }}

- name: GCC ${{ matrix.sanitizer }} sanitizer
run: v -cc gcc -cflags -fsanitize=${{ matrix.sanitizer }} test ${{ env.REPO }}
run: v -cc gcc -cflags -fsanitize=${{ matrix.sanitizer }} test ${{ env.MOD_PATH }}

gcc-address-sanitizers:
needs: different-compilers
Expand All @@ -209,7 +209,7 @@ jobs:
path: ${{ env.REPO }}

- name: GCC address sanitizer
run: v -cc gcc -cflags -fsanitize=address -cflags -fsanitize-address-use-after-scope -cflags -fsanitize=pointer-compare -cflags -fsanitize=pointer-subtract test ${{ env.REPO }}
run: v -cc gcc -cflags -fsanitize=address -cflags -fsanitize-address-use-after-scope -cflags -fsanitize=pointer-compare -cflags -fsanitize=pointer-subtract test ${{ env.MOD_PATH }}

gcc-undefined-sanitizers:
needs: different-compilers
Expand Down Expand Up @@ -239,4 +239,4 @@ jobs:
run: cp -r ${{ env.REPO }} ${{ env.MOD_PATH }}

- name: GCC undefined sanitizer
run: v -cc gcc -cflags -fsanitize=undefined -cflags -fsanitize=shift -cflags -fsanitize=shift-exponent -cflags -fsanitize=shift-base -cflags -fsanitize=integer-divide-by-zero -cflags -fsanitize=unreachable -cflags -fsanitize=vla-bound -cflags -fsanitize=null -cflags -fsanitize=return -cflags -fsanitize=signed-integer-overflow -cflags -fsanitize=bounds -cflags -fsanitize=bounds-strict -cflags -fsanitize=alignment -cflags -fsanitize=object-size -cflags -fsanitize=float-divide-by-zero -cflags -fsanitize=float-cast-overflow -cflags -fsanitize=nonnull-attribute -cflags -fsanitize=returns-nonnull-attribute -cflags -fsanitize=bool -cflags -fsanitize=enum -cflags -fsanitize=vptr -cflags -fsanitize=pointer-overflow -cflags -fsanitize=builtin test ${{ env.REPO }}
run: v -cc gcc -cflags -fsanitize=undefined -cflags -fsanitize=shift -cflags -fsanitize=shift-exponent -cflags -fsanitize=shift-base -cflags -fsanitize=integer-divide-by-zero -cflags -fsanitize=unreachable -cflags -fsanitize=vla-bound -cflags -fsanitize=null -cflags -fsanitize=return -cflags -fsanitize=signed-integer-overflow -cflags -fsanitize=bounds -cflags -fsanitize=bounds-strict -cflags -fsanitize=alignment -cflags -fsanitize=object-size -cflags -fsanitize=float-divide-by-zero -cflags -fsanitize=float-cast-overflow -cflags -fsanitize=nonnull-attribute -cflags -fsanitize=returns-nonnull-attribute -cflags -fsanitize=bool -cflags -fsanitize=enum -cflags -fsanitize=vptr -cflags -fsanitize=pointer-overflow -cflags -fsanitize=builtin test ${{ env.MOD_PATH }}

0 comments on commit f112571

Please sign in to comment.