Skip to content

Commit ca25eec

Browse files
authored
Use Makefile.win for Shards on Windows CI (#14414)
1 parent 23d5351 commit ca25eec

File tree

1 file changed

+2
-9
lines changed

1 file changed

+2
-9
lines changed

.github/workflows/win_build_portable.yml

Lines changed: 2 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -129,22 +129,15 @@ jobs:
129129
ref: v0.18.0
130130
path: shards
131131

132-
- name: Download molinillo release
133-
uses: actions/checkout@v4
134-
with:
135-
repository: crystal-lang/crystal-molinillo
136-
ref: v0.2.0
137-
path: shards/lib/molinillo
138-
139132
- name: Build shards release
140133
working-directory: ./shards
141-
run: ../bin/crystal.bat build ${{ inputs.release && '--release' || '' }} src/shards.cr
134+
run: make -f Makefile.win ${{ inputs.release && 'release=1' || '' }}
142135

143136
- name: Gather Crystal binaries
144137
run: |
145138
make -f Makefile.win install prefix=crystal
146139
mkdir crystal/lib
147-
cp shards/shards.exe crystal/
140+
cp shards/bin/shards.exe crystal/
148141
cp libs/* crystal/lib/
149142
cp dlls/* crystal/
150143
cp README.md crystal/

0 commit comments

Comments
 (0)