Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[CI] Add build shards to mingw-w64 workflow #15344

Merged
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading