Skip to content

Commit

Permalink
Merge pull request #1295 from qstokkink/upd_github_wincaching
Browse files Browse the repository at this point in the history
Cache libsodium.dll from the main branch
  • Loading branch information
qstokkink committed Jun 13, 2024
2 parents 3169dbd + 08a1e08 commit 2cb4280
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 7 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/coverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ on:
push:
branches:
- master
schedule:
- cron: "10 6 * * 1,3,5" # Mon, Wed, Fri @ 6:10 UTC
workflow_dispatch:
jobs:
linux:
Expand Down Expand Up @@ -35,7 +37,6 @@ jobs:
with:
html_report_name: coverage-windows
- uses: actions/cache/save@v4
if: steps.restore_cache.outputs.cache-hit != 'true'
with:
path: libsodium.dll
key: cache_libsodium_dll
Expand Down
9 changes: 3 additions & 6 deletions .github/workflows/unittests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,11 +28,6 @@ jobs:
- run: python -m pip install -r requirements.txt
- name: Run unit tests
run: python run_all_tests.py -a
- uses: actions/cache/save@v4
if: steps.restore_cache.outputs.cache-hit != 'true'
with:
path: libsodium.dll
key: cache_libsodium_dll
macos:
runs-on: macos-latest
timeout-minutes: 2
Expand All @@ -44,4 +39,6 @@ jobs:
cache: 'pip'
- run: python -m pip install -r requirements.txt
- name: Run unit tests
run: python run_all_tests.py -a
run: |
cp /System/Volumes/Data/opt/homebrew/lib/libsodium.dylib libsodium.dylib
python run_all_tests.py -a

0 comments on commit 2cb4280

Please sign in to comment.