File tree Expand file tree Collapse file tree 2 files changed +15
-11
lines changed Expand file tree Collapse file tree 2 files changed +15
-11
lines changed Original file line number Diff line number Diff line change @@ -23,12 +23,14 @@ jobs:
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
26
+ - name : Set up MSYS2
27
+ id : msys2
28
+ uses : msys2/setup-msys2@61f9e5e925871ba6c9e3e8da24ede83ea27fa91f # v2.27.0
28
29
with :
29
- packages : make
30
- install-dir : C:\cygwin64
31
- add-to-path : false
30
+ msystem : UCRT64
31
+ update : true
32
+ install : >-
33
+ make
32
34
33
35
- name : Download Crystal source
34
36
uses : actions/checkout@v4
@@ -102,12 +104,14 @@ jobs:
102
104
- name : Enable Developer Command Prompt
103
105
uses : ilammy/msvc-dev-cmd@0b201ec74fa43914dc39ae48a89fd1d8cb592756 # v1.13.0
104
106
105
- - name : Set up Cygwin
106
- uses : cygwin/cygwin-install-action@f61179d72284ceddc397ed07ddb444d82bf9e559 # v5
107
+ - name : Set up MSYS2
108
+ id : msys2
109
+ uses : msys2/setup-msys2@61f9e5e925871ba6c9e3e8da24ede83ea27fa91f # v2.27.0
107
110
with :
108
- packages : make
109
- install-dir : C:\cygwin64
110
- add-to-path : false
111
+ msystem : UCRT64
112
+ update : true
113
+ install : >-
114
+ make
111
115
112
116
- name : Download Crystal source
113
117
uses : actions/checkout@v4
Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ rm libiconv.tar.gz
14
14
15
15
Run- InDirectory $BuildTree {
16
16
$env: CHERE_INVOKING = 1
17
- & ' C:\cygwin64 \bin\bash.exe' -- login " $PSScriptRoot \cygwin-build-iconv.sh" " $Version " " $ ( if ($Dynamic ) { 1 }) "
17
+ & ' C:\msys64\usr \bin\bash.exe' -- login " $PSScriptRoot \cygwin-build-iconv.sh" " $Version " " $ ( if ($Dynamic ) { 1 }) "
18
18
if (-not $? ) {
19
19
Write-Host " Error: Failed to build libiconv" - ForegroundColor Red
20
20
Exit 1
You can’t perform that action at this time.
0 commit comments