[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[lmi-commits] [lmi] master 4f0d520 09/15: Fix caching xmlwrapp in GitHub
From: |
Greg Chicares |
Subject: |
[lmi-commits] [lmi] master 4f0d520 09/15: Fix caching xmlwrapp in GitHub CI workflow |
Date: |
Fri, 9 Oct 2020 12:05:27 -0400 (EDT) |
branch: master
commit 4f0d52018cf006405db8851a2146886c69de0a65
Author: Vadim Zeitlin <vadim@tt-solutions.com>
Commit: Gregory W. Chicares <gchicares@sbcglobal.net>
Fix caching xmlwrapp in GitHub CI workflow
Use the revision of xmlwrapp submodule as part of the cache key to
ensure that the cached files are rebuilt if this submodule changes.
---
.github/workflows/ci.yml | 7 ++++---
1 file changed, 4 insertions(+), 3 deletions(-)
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index d1299c2..d860e1b 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -45,6 +45,7 @@ jobs:
echo "gcc_version=$gcc_version" >> $GITHUB_ENV
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
- name: Create lmi directories
@@ -69,7 +70,7 @@ jobs:
- name: Build miscellanea
run: make $coefficiency --output-sync=recurse -f
install_miscellanea.make
- - name: Cache libxml2, wxWidgets and wxPdfDoc
+ - name: Cache third-party libraries
id: cache-local
uses: actions/cache@v2
with:
@@ -77,9 +78,9 @@ 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.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 }}
- - name: Build libxml2
+ - name: Build XML libraries
if: steps.cache-local.outputs.cache-hit != 'true'
run: ./install_xml_libraries.sh
- [lmi-commits] [lmi] master updated (14d582d -> 5f266c6), Greg Chicares, 2020/10/09
- [lmi-commits] [lmi] master f15cb36 04/15: Refactor, handling "root name" more naturally, Greg Chicares, 2020/10/09
- [lmi-commits] [lmi] master a227fff 06/15: Update xmlwrapp submodule to the latest version, Greg Chicares, 2020/10/09
- [lmi-commits] [lmi] master c86548b 11/15: Upgrade xmlwrapp to support building as DLL without auto-import, Greg Chicares, 2020/10/09
- [lmi-commits] [lmi] master 22ba470 07/15: Re-upgrade libxml2 to the latest version, Greg Chicares, 2020/10/09
- [lmi-commits] [lmi] master 24c5d74 14/15: Add wxpdfdoc submodule and use wxPdfDocument version from it, Greg Chicares, 2020/10/09
- [lmi-commits] [lmi] master 70a973c 08/15: Build xmlwrapp as external library, similarly to libxml2, Greg Chicares, 2020/10/09
- [lmi-commits] [lmi] master 4f0d520 09/15: Fix caching xmlwrapp in GitHub CI workflow,
Greg Chicares <=
- [lmi-commits] [lmi] master ae54a1d 13/15: Add wx submodule and use wxWidgets version from it, Greg Chicares, 2020/10/09
- [lmi-commits] [lmi] master fc15e23 12/15: Fix xml libraries building under Windows, Greg Chicares, 2020/10/09
- [lmi-commits] [lmi] master ab00f6d 02/15: Improve documentation, Greg Chicares, 2020/10/09
- [lmi-commits] [lmi] master a020e99 05/15: Add xmlwrapp submodule and use its sources and headers from it, Greg Chicares, 2020/10/09
- [lmi-commits] [lmi] master 51de6d7 03/15: Update documentation, Greg Chicares, 2020/10/09
- [lmi-commits] [lmi] master 7eac3ea 01/15: Expunge an unnecessary variable, Greg Chicares, 2020/10/09
- [lmi-commits] [lmi] master 9af93d4 10/15: Don't define unused and unnecessary LIBXML_USE_DLL symbol, Greg Chicares, 2020/10/09
- [lmi-commits] [lmi] master 5f266c6 15/15: Consistently use the same config.guess in all build scripts, Greg Chicares, 2020/10/09