Skip to content

Use Makefile.win for Shards on Windows CI #14414

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

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
11 changes: 2 additions & 9 deletions .github/workflows/win_build_portable.yml
Original file line number Diff line number Diff line change
Expand Up @@ -129,22 +129,15 @@ jobs:
ref: v0.18.0
path: shards

- name: Download molinillo release
uses: actions/checkout@v4
with:
repository: crystal-lang/crystal-molinillo
ref: v0.2.0
path: shards/lib/molinillo

- name: Build shards release
working-directory: ./shards
run: ../bin/crystal.bat build ${{ inputs.release && '--release' || '' }} src/shards.cr
run: make -f Makefile.win ${{ inputs.release && 'release=1' || '' }}

- name: Gather Crystal binaries
run: |
make -f Makefile.win install prefix=crystal
mkdir crystal/lib
cp shards/shards.exe crystal/
cp shards/bin/shards.exe crystal/
cp libs/* crystal/lib/
cp dlls/* crystal/
cp README.md crystal/
Expand Down