Skip to content

Commit

Permalink
[CI] Add build shards to mingw-w64 workflow (#15344)
Browse files Browse the repository at this point in the history
Co-authored-by: Julien Portalier <julien@portalier.com>
  • Loading branch information
straight-shoota and ysbaddaden authored Jan 17, 2025
1 parent 7b9e2ef commit cfd8ea1
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions .github/workflows/mingw-w64.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@ jobs:
mingw-w64-ucrt-x86_64-zlib
mingw-w64-ucrt-x86_64-llvm
mingw-w64-ucrt-x86_64-libffi
mingw-w64-ucrt-x86_64-libyaml
- name: Disable CRLF line ending substitution
run: |
Expand Down Expand Up @@ -87,6 +88,23 @@ jobs:
run: |
make install install_dlls deref_symlinks=1 PREFIX="$(pwd)/crystal"
- name: Download shards release
uses: actions/checkout@v4
with:
repository: crystal-lang/shards
ref: v0.19.0
path: shards

- name: Build shards release
shell: msys2 {0}
working-directory: ./shards
run: make CRYSTAL=$(pwd)/../crystal/bin/crystal SHARDS=false release=1

- name: Package Shards
shell: msys2 {0}
run: |
make install PREFIX="$(pwd)/../crystal"
- name: Upload Crystal executable
uses: actions/upload-artifact@v4
with:
Expand Down

0 comments on commit cfd8ea1

Please sign in to comment.