Skip to content

Commit

Permalink
Revert "github/workflows: Fix build by setting git safe.directory"
Browse files Browse the repository at this point in the history
This reverts commit 1741857.

Signed-off-by: Andrew Clayton <[email protected]>
  • Loading branch information
ac000 committed Jul 31, 2023
1 parent 7c5323b commit 50511bd
Showing 1 changed file with 4 additions and 12 deletions.
16 changes: 4 additions & 12 deletions .github/workflows/build_tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -55,9 +55,7 @@ jobs:
fetch-depth: "0"

- name: make
run: |
git config --global --add safe.directory /__w/libmtdac/libmtdac
CFLAGS=-Werror make V=1
run: CFLAGS=-Werror make V=1

# Debian 11 / glibc 2.31 / gcc 10.2
debian_11:
Expand All @@ -77,9 +75,7 @@ jobs:
fetch-depth: "0"

- name: make
run: |
git config --global --add safe.directory /__w/libmtdac/libmtdac
CFLAGS=-Werror make V=1
run: CFLAGS=-Werror make V=1

# Alpine Linux with musl libc and GCC
alpine:
Expand All @@ -97,9 +93,7 @@ jobs:
fetch-depth: "0"

- name: make
run: |
git config --global --add safe.directory /__w/libmtdac/libmtdac
CFLAGS=-Werror make V=1
run: CFLAGS=-Werror make V=1

# Fedora 34 / glibc 2.33 / gcc 11.2 / clang 12.0
# Fedora 35 / glibc 2.34 / gcc 11.2 / clang 13.0
Expand All @@ -124,6 +118,4 @@ jobs:
fetch-depth: "0"

- name: make CC=${{ matrix.compiler }}
run: |
git config --global --add safe.directory /__w/libmtdac/libmtdac
CFLAGS=-Werror make CC=${{ matrix.compiler }} V=1
run: CFLAGS=-Werror make CC=${{ matrix.compiler }} V=1

0 comments on commit 50511bd

Please sign in to comment.