|
23 | 23 | - name: Enable Developer Command Prompt
|
24 | 24 | uses: ilammy/msvc-dev-cmd@0b201ec74fa43914dc39ae48a89fd1d8cb592756 # v1.13.0
|
25 | 25 |
|
26 |
| - - name: Set up Cygwin |
27 |
| - uses: cygwin/cygwin-install-action@f61179d72284ceddc397ed07ddb444d82bf9e559 # v5 |
28 |
| - with: |
29 |
| - packages: make |
30 |
| - install-dir: C:\cygwin64 |
31 |
| - add-to-path: false |
32 |
| - |
33 | 26 | - name: Download Crystal source
|
34 | 27 | uses: actions/checkout@v4
|
35 | 28 |
|
|
48 | 41 | libs/yaml.lib
|
49 | 42 | libs/xml2.lib
|
50 | 43 | key: win-libs-${{ hashFiles('.github/workflows/win.yml', 'etc/win-ci/*.ps1') }}-msvc
|
| 44 | + - name: Set up Cygwin |
| 45 | + if: steps.cache-libs.outputs.cache-hit != 'true' |
| 46 | + uses: cygwin/cygwin-install-action@f61179d72284ceddc397ed07ddb444d82bf9e559 # v5 |
| 47 | + with: |
| 48 | + packages: make |
| 49 | + install-dir: C:\cygwin64 |
| 50 | + add-to-path: false |
51 | 51 | - name: Build libgc
|
52 | 52 | if: steps.cache-libs.outputs.cache-hit != 'true'
|
53 | 53 | run: .\etc\win-ci\build-gc.ps1 -BuildTree deps\gc -Version 8.2.8 -AtomicOpsVersion 7.8.2
|
@@ -102,13 +102,6 @@ jobs:
|
102 | 102 | - name: Enable Developer Command Prompt
|
103 | 103 | uses: ilammy/msvc-dev-cmd@0b201ec74fa43914dc39ae48a89fd1d8cb592756 # v1.13.0
|
104 | 104 |
|
105 |
| - - name: Set up Cygwin |
106 |
| - uses: cygwin/cygwin-install-action@f61179d72284ceddc397ed07ddb444d82bf9e559 # v5 |
107 |
| - with: |
108 |
| - packages: make |
109 |
| - install-dir: C:\cygwin64 |
110 |
| - add-to-path: false |
111 |
| - |
112 | 105 | - name: Download Crystal source
|
113 | 106 | uses: actions/checkout@v4
|
114 | 107 |
|
@@ -136,6 +129,13 @@ jobs:
|
136 | 129 | dlls/yaml.dll
|
137 | 130 | dlls/libxml2.dll
|
138 | 131 | key: win-dlls-${{ hashFiles('.github/workflows/win.yml', 'etc/win-ci/*.ps1') }}-msvc
|
| 132 | + - name: Set up Cygwin |
| 133 | + if: steps.cache-dlls.outputs.cache-hit != 'true' |
| 134 | + uses: cygwin/cygwin-install-action@f61179d72284ceddc397ed07ddb444d82bf9e559 # v5 |
| 135 | + with: |
| 136 | + packages: make |
| 137 | + install-dir: C:\cygwin64 |
| 138 | + add-to-path: false |
139 | 139 | - name: Build libgc
|
140 | 140 | if: steps.cache-dlls.outputs.cache-hit != 'true'
|
141 | 141 | run: .\etc\win-ci\build-gc.ps1 -BuildTree deps\gc -Version 8.2.8 -AtomicOpsVersion 7.8.2 -Dynamic
|
|
0 commit comments