Skip to content

Commit

Permalink
github/workflows: Set git safe directory
Browse files Browse the repository at this point in the history
Signed-off-by: Andrew Clayton <[email protected]>
  • Loading branch information
ac000 committed Jul 31, 2023
1 parent d089977 commit 1541d07
Showing 1 changed file with 12 additions and 4 deletions.
16 changes: 12 additions & 4 deletions .github/workflows/build_tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,9 @@ jobs:
fetch-depth: "0"

- name: make
run: CFLAGS="-I${RUNNER_TEMP}/libmtdac/include -I${RUNNER_TEMP}/libac/src/include -Werror" LDFLAGS="-L${RUNNER_TEMP}/libmtdac/src -L${RUNNER_TEMP}/libac/src" make V=1
run: |
git config --global --add safe.directory /__w/itsa/itsa
CFLAGS="-I${RUNNER_TEMP}/libmtdac/include -I${RUNNER_TEMP}/libac/src/include -Werror" LDFLAGS="-L${RUNNER_TEMP}/libmtdac/src -L${RUNNER_TEMP}/libac/src" make V=1
# Debian 11 / glibc 2.31 / gcc 10.2
debian_11:
Expand Down Expand Up @@ -99,7 +101,9 @@ jobs:
fetch-depth: "0"

- name: make
run: CFLAGS="-I${RUNNER_TEMP}/libmtdac/include -I${RUNNER_TEMP}/libac/src/include -Werror" LDFLAGS="-L${RUNNER_TEMP}/libmtdac/src -L${RUNNER_TEMP}/libac/src" make V=1
run: |
git config --global --add safe.directory /__w/itsa/itsa
CFLAGS="-I${RUNNER_TEMP}/libmtdac/include -I${RUNNER_TEMP}/libac/src/include -Werror" LDFLAGS="-L${RUNNER_TEMP}/libmtdac/src -L${RUNNER_TEMP}/libac/src" make V=1
# Alpine Linux with musl libc and GCC
alpine:
Expand All @@ -126,7 +130,9 @@ jobs:
fetch-depth: "0"

- name: make
run: CFLAGS="-I${RUNNER_TEMP}/libmtdac/include -I${RUNNER_TEMP}/libac/src/include -Werror" LDFLAGS="-L${RUNNER_TEMP}/libmtdac/src -L${RUNNER_TEMP}/libac/src" make V=1
run: |
git config --global --add safe.directory /__w/itsa/itsa
CFLAGS="-I${RUNNER_TEMP}/libmtdac/include -I${RUNNER_TEMP}/libac/src/include -Werror" LDFLAGS="-L${RUNNER_TEMP}/libmtdac/src -L${RUNNER_TEMP}/libac/src" make V=1
# Fedora 37 / glibc 2.36 / gcc 12.1 / clang 15
# Fedora 38 / glibc 2.37 / gcc 13.1 / clang 16
Expand Down Expand Up @@ -160,4 +166,6 @@ jobs:
fetch-depth: "0"

- name: make CC=${{ matrix.compiler }}
run: CFLAGS="-I${RUNNER_TEMP}/libmtdac/include -I${RUNNER_TEMP}/libac/src/include -Werror" LDFLAGS="-L${RUNNER_TEMP}/libmtdac/src -L${RUNNER_TEMP}/libac/src" make CC=${{ matrix.compiler }} V=1
run: |
git config --global --add safe.directory /__w/itsa/itsa
CFLAGS="-I${RUNNER_TEMP}/libmtdac/include -I${RUNNER_TEMP}/libac/src/include -Werror" LDFLAGS="-L${RUNNER_TEMP}/libmtdac/src -L${RUNNER_TEMP}/libac/src" make CC=${{ matrix.compiler }} V=1

0 comments on commit 1541d07

Please sign in to comment.