diff options
| -rw-r--r-- | .github/workflows/coverage.yaml | 10 |
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 |
