diff options
Diffstat (limited to '.github/workflows/testsuite.yaml')
| -rw-r--r-- | .github/workflows/testsuite.yaml | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/.github/workflows/testsuite.yaml b/.github/workflows/testsuite.yaml index 4499452..e44f104 100644 --- a/.github/workflows/testsuite.yaml +++ b/.github/workflows/testsuite.yaml | |||
| @@ -34,6 +34,18 @@ jobs: | |||
| 34 | steps: | 34 | steps: |
| 35 | - name: Checking out the code | 35 | - name: Checking out the code |
| 36 | uses: actions/checkout@v3 | 36 | uses: actions/checkout@v3 |
| 37 | - name: Cache musl toolchain | ||
| 38 | uses: actions/cache@v3 | ||
| 39 | id: cache-musl | ||
| 40 | with: | ||
| 41 | path: x86_64-linux-musl-native | ||
| 42 | key: musl | ||
| 43 | - name: Downloading musl-based toolchain | ||
| 44 | if: steps.cache-musl.outputs.cache-hit != 'true' | ||
| 45 | run: wget --quiet https://musl.cc/x86_64-linux-musl-native.tgz | ||
| 46 | - name: Extracting musl-based toolchain | ||
| 47 | if: steps.cache-musl.outputs.cache-hit != 'true' | ||
| 48 | run: tar xzf ./x86_64-linux-musl-native.tgz | ||
| 37 | - name: Setting up clang version | 49 | - name: Setting up clang version |
| 38 | run: | | 50 | run: | |
| 39 | sudo update-alternatives --install /usr/bin/clang++ clang++ /usr/bin/clang++-${{ matrix.version }} 100 | 51 | sudo update-alternatives --install /usr/bin/clang++ clang++ /usr/bin/clang++-${{ matrix.version }} 100 |
