summaryrefslogtreecommitdiff
path: root/.github/workflows
diff options
context:
space:
mode:
authorjvoisin2023-08-20 23:11:03 +0200
committerjvoisin2023-08-20 23:11:03 +0200
commit0f19089c58fb940791659e1c4b4e98795240df4e (patch)
tree38b6610230e92cf9da294f636bc0bd45781f1315 /.github/workflows
parent62652102ec8ff63fb2b530b1f4f04214a60387b1 (diff)
Cache the musl toolchain in the coverage step in the CI
Diffstat (limited to '.github/workflows')
-rw-r--r--.github/workflows/coverage.yaml10
1 files changed, 9 insertions, 1 deletions
diff --git a/.github/workflows/coverage.yaml b/.github/workflows/coverage.yaml
index 94887f9..eaf5a87 100644
--- a/.github/workflows/coverage.yaml
+++ b/.github/workflows/coverage.yaml
@@ -24,9 +24,17 @@ jobs:
24 steps: 24 steps:
25 - name: Checking out the code 25 - name: Checking out the code
26 uses: actions/checkout@v3 26 uses: actions/checkout@v3
27 - name: Cache musl toolchain
28 uses: actions/cache@v3
29 id: cache-musl
30 with:
31 path: x86_64-linux-musl-native
32 key: musl
27 - name: Downloading musl-based toolchain 33 - name: Downloading musl-based toolchain
28 run: wget https://musl.cc/x86_64-linux-musl-native.tgz 34 if: steps.cache-musl.outputs.cache-hit != 'true'
35 run: wget --quiet https://musl.cc/x86_64-linux-musl-native.tgz
29 - name: Extracting musl-based toolchain 36 - name: Extracting musl-based toolchain
37 if: steps.cache-musl.outputs.cache-hit != 'true'
30 run: tar xzf ./x86_64-linux-musl-native.tgz 38 run: tar xzf ./x86_64-linux-musl-native.tgz
31 - name: Installing lcov 39 - name: Installing lcov
32 run: sudo apt install lcov 40 run: sudo apt install lcov