Skip to content

Commit

Permalink
Cache libressl build
Browse files Browse the repository at this point in the history
  • Loading branch information
Jakuje committed Apr 3, 2024
1 parent ef0a05f commit aef4320
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions .github/workflows/linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ env:
JAVA_DEPS: |
ant openjdk-8-jdk maven cmake
JCARDSIM: https://github.com/Jakuje/jcardsim.git
LIBRESSL_VERSION: 3.8.1

jobs:
build:
Expand Down Expand Up @@ -514,6 +515,13 @@ jobs:
packages: ${{ env.BASE_DEPS }}
version: apt-latest-base
execute_install_scripts: true
- name: Restore LibreSSL build
uses: actions/cache/restore@v4
id: libressl-cache
with:
path: |
libressl-${{ env.LIBRESSL_VERSION }}/
key: libressl-${{ env.LIBRESSL_VERSION }}
- run: .github/setup-linux.sh libressl
- run: .github/build.sh dist libressl valgrind
- uses: actions/upload-artifact@v3
Expand All @@ -530,6 +538,13 @@ jobs:
with:
path: ./*
key: ${{ runner.os }}-libressl-${{ github.sha }}
- if: ${{ steps.libressl-cache.outputs.cache-hit != 'true' }}
name: Cache LibreSSL build
uses: actions/cache/save@v4
with:
path: |
libressl-${{ env.LIBRESSL_VERSION }}/
key: libressl-${{ env.LIBRESSL_VERSION }}

test-cac-libressl:
runs-on: ubuntu-latest
Expand Down

0 comments on commit aef4320

Please sign in to comment.