Skip to content

Commit

Permalink
CI: speed up bootstrap
Browse files Browse the repository at this point in the history
  • Loading branch information
lifenjoiner committed Nov 24, 2024
1 parent 9d6d66a commit 9c3e1f3
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 deletions.
6 changes: 5 additions & 1 deletion .github/workflows/github-CI-Ubuntu.yml
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,11 @@ jobs:
echo "Reset gettext version: configure.ac requires "${req_ver}", local is "${loc_ver}
sed -i "s/^\(AM_GNU_GETTEXT_VERSION(\[\)[0-9.]\+\(\])\)$/\1${loc_ver}\2/gm" configure.ac
fi
./bootstrap --skip-po
git -C gnulib init
git -C gnulib remote add origin https://github.com/coreutils/gnulib.git
git -C gnulib fetch --depth 1 origin $(cat ./.git/modules/gnulib/HEAD)
git -C gnulib reset --hard FETCH_HEAD
./bootstrap --gnulib-srcdir=./gnulib --gen --skip-po
sed -i "s/-dirty\b//p" configure
# -->
Expand Down
6 changes: 5 additions & 1 deletion .github/workflows/github-CI-Windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,11 @@ jobs:
sed -i "s/^\(AM_GNU_GETTEXT_VERSION(\[\)[0-9.]\+\(\])\)$/\1${loc_ver}\2/gm" configure.ac
fi
git describe --abbrev=4 --match="v*" HEAD | sed "s/-\([^-]*\)-g\([^-]*\)$/.\1-\2/" >.tarball-version
./bootstrap --skip-po
git -C gnulib init
git -C gnulib remote add origin https://github.com/coreutils/gnulib.git
git -C gnulib fetch --depth 1 origin $(cat ./.git/modules/gnulib/HEAD)
git -C gnulib reset --hard FETCH_HEAD
./bootstrap --gnulib-srcdir=./gnulib --gen --skip-po
sed -i "s/-dirty\b//p" configure
# -->
Expand Down

0 comments on commit 9c3e1f3

Please sign in to comment.