Skip to content

Commit

Permalink
fix(cd): fix git build on el7
Browse files Browse the repository at this point in the history
  • Loading branch information
fffonion committed Aug 15, 2023
1 parent f4f980f commit d77951b
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -144,6 +144,12 @@ jobs:
wget https://mirrors.edge.kernel.org/pub/software/scm/git/git-2.41.0.tar.gz
tar xf git-2.41.0.tar.gz
cd git-2.41.0
# https://gitlab.com/gitlab-org/omnibus-gitlab/-/merge_requests/5948/diffs
if [[ ${{ matrix.image }} == "centos:7" ]]; then
echo 'CFLAGS=-std=gnu99' >> config.mak
fi
make configure
./configure --prefix=/usr/local/git
make -j$(nproc)
Expand Down

0 comments on commit d77951b

Please sign in to comment.