From: Tobias Brunner Date: Fri, 20 Aug 2021 10:11:34 +0000 (+0200) Subject: wip X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=815fd19d73d775457fa39d255e64ddb6c7007d06;p=thirdparty%2Fstrongswan.git wip --- diff --git a/.github/workflows/windows.yml b/.github/workflows/windows.yml index 5010975094..f17029bb10 100644 --- a/.github/workflows/windows.yml +++ b/.github/workflows/windows.yml @@ -78,28 +78,26 @@ jobs: - uses: actions/cache@v2 with: path: ~/.ccache - key: ccache-${{ runner.os }}-${{ matrix.test }}-${{ github.ref }}:${{ github.sha }} + key: ccache-${{ runner.os }}-${{ matrix.test }}-${{ github.sha }} restore-keys: | - ccache-${{ runner.os }}-${{ matrix.test }}-${{ github.ref }}: ccache-${{ runner.os }}-${{ matrix.test }}- - run: | ./scripts/test.sh deps - pacman --noconfirm -S --needed ccache - ccache -z - ccache -s - shell: msys2 {0} - - run: | - # the ccache package does not add any symlinks and the scripts in the - # mingw-w64-...-ccache packages don't work, so do this via CC + pacman --noconfirm -S --needed mingw-w64-ccache || true case "$TEST" in win64) - export CC="ccache x86_64-w64-mingw32-gcc" + pacman --noconfirm -S --needed mingw-w64-x86_64-ccache + echo "PATH=/mingw64/lib/ccache/bin:$PATH" >> $GITHUB_ENV ;; win32) - export CC="ccache i686-w64-mingw32-gcc" + pacman --noconfirm -S --needed mingw-w64-i686-ccache + echo "PATH=/mingw32/lib/ccache/bin:$PATH" >> $GITHUB_ENV ;; esac - ./scripts/test.sh + ccache -z + ccache -s + shell: msys2 {0} + - run: ./scripts/test.sh shell: msys2 {0} # sometimes streaming/threading tests hang completely timeout-minutes: 30