[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[lmi-commits] [lmi] master 80e1b14 23/30: Fix caching of wxWidgets and w
From: |
Greg Chicares |
Subject: |
[lmi-commits] [lmi] master 80e1b14 23/30: Fix caching of wxWidgets and wxPdfDoc libraries |
Date: |
Wed, 24 Mar 2021 15:31:10 -0400 (EDT) |
branch: master
commit 80e1b14677b3e8f36ad78cf081e389cc3e46625c
Author: Vadim Zeitlin <vadim@tt-solutions.com>
Commit: Gregory W. Chicares <gchicares@sbcglobal.net>
Fix caching of wxWidgets and wxPdfDoc libraries
Include the commit IDs of the corresponding submodules into the cache
key, otherwise the libraries are not rebuilt if (just) the submodules
change.
---
.github/workflows/ci.yml | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 073d795..a506826 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -101,6 +101,8 @@ jobs:
echo "xml2_sha1=$(git rev-parse HEAD:third_party/libxml2)" >>
$GITHUB_ENV
echo "xmlwrapp_sha1=$(git rev-parse HEAD:third_party/xmlwrapp)" >>
$GITHUB_ENV
echo "xslt_sha1=$(git rev-parse HEAD:third_party/libxslt)" >>
$GITHUB_ENV
+ echo "wx_sha1=$(git rev-parse HEAD:third_party/wx)" >> $GITHUB_ENV
+ echo "wxpdfdoc_sha1=$(git rev-parse HEAD:third_party/wxpdfdoc)" >>
$GITHUB_ENV
echo "PATH=$PATH:/opt/lmi/local/${LMI_COMPILER}_${LMI_TRIPLET}/bin"
>> $GITHUB_ENV
@@ -140,7 +142,7 @@ jobs:
/opt/lmi/local/${{ env.LMI_COMPILER }}_${{ env.LMI_TRIPLET }}
/opt/lmi/local/include
/opt/lmi/local/share
- key: build-${{ env.LMI_COMPILER }}-${{ env.gcc_version }}-${{
env.LMI_TRIPLET }}-${{ hashFiles('install_xml_libraries.sh', 'install_wx.sh',
'install_wxpdfdoc.sh') }}-${{ env.xml2_sha1 }}-${{ env.xmlwrapp_sha1 }}-${{
env.xslt_sha1 }}
+ key: build-${{ env.LMI_COMPILER }}-${{ env.gcc_version }}-${{
env.LMI_TRIPLET }}-${{ hashFiles('install_xml_libraries.sh', 'install_wx.sh',
'install_wxpdfdoc.sh') }}-${{ env.xml2_sha1 }}-${{ env.xmlwrapp_sha1 }}-${{
env.xslt_sha1 }}-${{ env.wx_sha1 }}-${{ env.wxpdfdoc_sha1 }}
- name: Build XML libraries
if: steps.cache-local.outputs.cache-hit != 'true'
- [lmi-commits] [lmi] master 35acf2a 03/30: Force linking CLI alert initialization functions into the tests, (continued)
- [lmi-commits] [lmi] master 35acf2a 03/30: Force linking CLI alert initialization functions into the tests, Greg Chicares, 2021/03/24
- [lmi-commits] [lmi] master db6123b 06/30: Use -frounding-math option when building with autotools too, Greg Chicares, 2021/03/24
- [lmi-commits] [lmi] master 2c9d788 12/30: Run apt-get quietly in GitHub Actions CI workflow, Greg Chicares, 2021/03/24
- [lmi-commits] [lmi] master f8a78ba 15/30: Add a CI build using clang with autotools too, Greg Chicares, 2021/03/24
- [lmi-commits] [lmi] master c5d4a99 17/30: Show config.log if configure step in the CI build fails, Greg Chicares, 2021/03/24
- [lmi-commits] [lmi] master d5728f4 19/30: Show the test suite log if running tests failed in the CI build, Greg Chicares, 2021/03/24
- [lmi-commits] [lmi] master 48c0613 20/30: Fix Boost detection and use in configure with clang in C++17 mode, Greg Chicares, 2021/03/24
- [lmi-commits] [lmi] master 41bd0a3 22/30: Update wx submodule to avoid clang warning in wx/hashmap.h, Greg Chicares, 2021/03/24
- [lmi-commits] [lmi] master 1f94454 25/30: Disable clang -Wstring-plus-int warning, Greg Chicares, 2021/03/24
- [lmi-commits] [lmi] master 12922c2 27/30: Generate product files in the CI builds using autotools too, Greg Chicares, 2021/03/24
- [lmi-commits] [lmi] master 80e1b14 23/30: Fix caching of wxWidgets and wxPdfDoc libraries,
Greg Chicares <=
- [lmi-commits] [lmi] master f4a91e3 28/30: Move XSD and XSL copy command to a more appropriate CI job step, Greg Chicares, 2021/03/24
- [lmi-commits] [lmi] master 593a712 29/30: Actually update wx, Greg Chicares, 2021/03/24
- [lmi-commits] [lmi] master 0b85c14 30/30: Improve documentation, Greg Chicares, 2021/03/24
- [lmi-commits] [lmi] master b0ed5cc 07/30: Create required files in the build directory with autotools, Greg Chicares, 2021/03/24
- [lmi-commits] [lmi] master f5b317c 08/30: Don't skip path_utility_test unnecessarily in the CI builds, Greg Chicares, 2021/03/24
- [lmi-commits] [lmi] master ecd3435 11/30: Default to x86_64-pc-linux-gnu LMI_TRIPLET in the CI builds, Greg Chicares, 2021/03/24
- [lmi-commits] [lmi] master 396441f 13/30: Use gcc_version value from the environment, if any, in scripts, Greg Chicares, 2021/03/24
- [lmi-commits] [lmi] master 91116f9 14/30: Suppress -Wdeprecated-copy in Boost headers for gcc9 too, Greg Chicares, 2021/03/24
- [lmi-commits] [lmi] master dd0b2a63 16/30: Work around problem with executable files under .git in CI builds, Greg Chicares, 2021/03/24
- [lmi-commits] [lmi] master 1c6ac28 04/30: Simplify test targets definitions in Automake makefile, Greg Chicares, 2021/03/24