Skip to content

Commit cfd8ea1

Browse files
[CI] Add build shards to mingw-w64 workflow (#15344)
Co-authored-by: Julien Portalier <[email protected]>
1 parent 7b9e2ef commit cfd8ea1

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

.github/workflows/mingw-w64.yml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,7 @@ jobs:
6060
mingw-w64-ucrt-x86_64-zlib
6161
mingw-w64-ucrt-x86_64-llvm
6262
mingw-w64-ucrt-x86_64-libffi
63+
mingw-w64-ucrt-x86_64-libyaml
6364
6465
- name: Disable CRLF line ending substitution
6566
run: |
@@ -87,6 +88,23 @@ jobs:
8788
run: |
8889
make install install_dlls deref_symlinks=1 PREFIX="$(pwd)/crystal"
8990
91+
- name: Download shards release
92+
uses: actions/checkout@v4
93+
with:
94+
repository: crystal-lang/shards
95+
ref: v0.19.0
96+
path: shards
97+
98+
- name: Build shards release
99+
shell: msys2 {0}
100+
working-directory: ./shards
101+
run: make CRYSTAL=$(pwd)/../crystal/bin/crystal SHARDS=false release=1
102+
103+
- name: Package Shards
104+
shell: msys2 {0}
105+
run: |
106+
make install PREFIX="$(pwd)/../crystal"
107+
90108
- name: Upload Crystal executable
91109
uses: actions/upload-artifact@v4
92110
with:

0 commit comments

Comments
 (0)