commit a8f6f7a21f687dd99175591ff5b3a1d708f67cbe parent e0f804dc4e3da5c078ced2c10d53f36bb7b109b4 Author: jvoisin <julien.voisin@dustri.org> Date: Wed, 5 Jul 2023 01:01:33 +0200 Cache musl-toolchain download Diffstat:
M | .github/workflows/testsuite.yaml | | | 10 | +++++++++- |
1 file changed, 9 insertions(+), 1 deletion(-)
diff --git a/.github/workflows/testsuite.yaml b/.github/workflows/testsuite.yaml @@ -11,9 +11,17 @@ jobs: steps: - name: Checking out the code uses: actions/checkout@v3 + - name: Cache musl toolchain + uses: actions/cache@v3 + id: cache-musl + with: + path: x86_64-linux-musl-native + key: musl - name: Downloading musl-based toolchain - run: wget https://musl.cc/x86_64-linux-musl-native.tgz + if: steps.cache-musl.outputs.cache-hit != 'true' + run: wget --quiet https://musl.cc/x86_64-linux-musl-native.tgz - name: Extracting musl-based toolchain + if: steps.cache-musl.outputs.cache-hit != 'true' run: tar xzf ./x86_64-linux-musl-native.tgz - name: Running the testsuite run: make -C tests gcc | grep -zqv FAIL