comparison .github/workflows/build.yml @ 59:8feb66207b99

Cache MinGW for x86 builds
author Paper <37962225+mrpapersonic@users.noreply.github.com>
date Thu, 21 Jul 2022 00:54:39 -0400
parents 01c605e78f48
children 06d8f805e8f0
comparison
equal deleted inserted replaced
58:fcd4b9fe957b 59:8feb66207b99
7 jobs: 7 jobs:
8 build-win32: 8 build-win32:
9 name: Windows i686 (32-bit) 9 name: Windows i686 (32-bit)
10 runs-on: windows-latest 10 runs-on: windows-latest
11 steps: 11 steps:
12 - name: Cache MinGW
13 uses: actions/cache@v3
14 with:
15 path: C:\MinGW
16 key: MinGW
17
12 - name: Setup MinGW 18 - name: Setup MinGW
13 run: | 19 run: |
14 curl -L -o mingw-get.tar.xz https://sourceforge.net/projects/mingw/files/Installer/mingw-get/mingw-get-0.6.2-beta-20131004-1/mingw-get-0.6.2-mingw32-beta-20131004-1-bin.zip/download # https://osdn.net/projects/mingw/downloads/68260/mingw-get-0.6.3-mingw32-pre-20170905-1-bin.tar.xz 20 curl -L -o mingw-get.tar.xz https://sourceforge.net/projects/mingw/files/Installer/mingw-get/mingw-get-0.6.2-beta-20131004-1/mingw-get-0.6.2-mingw32-beta-20131004-1-bin.zip/download # https://osdn.net/projects/mingw/downloads/68260/mingw-get-0.6.3-mingw32-pre-20170905-1-bin.tar.xz
15 mkdir C:\MinGW 21 mkdir C:\MinGW
16 tar xvf mingw-get.tar.xz -C C:\MinGW 22 tar xvf mingw-get.tar.xz -C C:\MinGW