diff options
author | Vadim Zeitlin <vz-swig@zeitlins.org> | 2021-09-30 17:38:24 +0200 |
---|---|---|
committer | Vadim Zeitlin <vz-swig@zeitlins.org> | 2021-09-30 17:38:24 +0200 |
commit | 6088323e1431cc7b3fe7623cfe0e888f5a383137 (patch) | |
tree | 6c5b1dbb388696135075e42565d4ec2d33175e50 | |
parent | 84b1b3f8b5724859142585e5a4a5f50ea01a2fbd (diff) | |
download | swig-6088323e1431cc7b3fe7623cfe0e888f5a383137.tar.gz |
Use ccache for building, not just configuring
Set the PATH to include the ccache directory for the subsequent steps,
including the "build" one, rather than only setting it locally for
configure, as this didn't have much effect at all.
-rw-r--r-- | .github/workflows/ci.yml | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index b24c0c912..705c753fb 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -69,6 +69,8 @@ jobs: run: | set -x export PATH="/usr/lib/ccache:/usr/local/opt/ccache/libexec:$PATH" + echo PATH="$PATH" >> $GITHUB_ENV + source Tools/GHA-linux-install.sh if test -n "$CPP11"; then CONFIGOPTS+=(--enable-cpp11-testing "CXXFLAGS=-std=c++11 $CXXFLAGS" "CFLAGS=-std=c11 $CFLAGS") && export CSTD=c11 && export CPPSTD=c++11; fi if test -n "$CPP14"; then CONFIGOPTS+=(--enable-cpp11-testing "CXXFLAGS=-std=c++14 $CXXFLAGS" "CFLAGS=-std=c11 $CFLAGS") && export CSTD=c11 && export CPPSTD=c++14; fi |