1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

Add cache of cygwin packages

This commit is contained in:
Kazuhiro NISHIYAMA 2019-12-09 15:04:59 +09:00 committed by Kazuhiro NISHIYAMA
parent ea8f03e86c
commit a5e6a50cb8
Notes: git 2019-12-09 16:08:35 +09:00

View file

@ -27,9 +27,16 @@ jobs:
- name: Install cygwin base packages with chocolatey
run: |
choco install --no-progress cygwin
- uses: actions/cache@v1
with:
path: C:\tools\cygwin\package
key: ${{ runner.os }}-cygwin-package-${{ matrix.os }}-${{ github.sha }}
restore-keys: |
${{ runner.os }}-cygwin-package-${{ matrix.os }}-
${{ runner.os }}-cygwin-package-
- name: Install cygwin additional packages
run: |
C:\tools\cygwin\cygwinsetup.exe -qgnNdO -R C:/tools/cygwin -s http://mirrors.kernel.org/sourceware/cygwin/ -P autoconf,bison,gcc-core,git,libcrypt-devel,libedit-devel,libffi-devel,libgdbm-devel,libgmp-devel,libintl-devel,libncurses-devel,libreadline-devel,libssl-devel,libuuid-devel,make,patch,ruby,tcl-tk-devel,zlib-devel
C:\tools\cygwin\cygwinsetup.exe -qgnNdO -R C:/tools/cygwin -l C:/tools/cygwin/package -s http://mirrors.kernel.org/sourceware/cygwin/ -P autoconf,bison,gcc-core,git,libcrypt-devel,libedit-devel,libffi-devel,libgdbm-devel,libgmp-devel,libintl-devel,libncurses-devel,libreadline-devel,libssl-devel,libuuid-devel,make,patch,ruby,tcl-tk-devel,zlib-devel
shell: cmd
- name: Set ENV
run: |