Skip to content

Commit

Permalink
Setup cross compilation in release GitHub action
Browse files Browse the repository at this point in the history
  • Loading branch information
delasy committed Feb 1, 2025
1 parent f7b6952 commit 7ea1f48
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,12 @@ jobs:
steps:
- uses: actions/checkout@v4
- uses: thelang-io/setup-the@v1

- run: sudo apt-get update
- run: sudo apt-get install build-essential mingw-w64
- run: echo "$HOME/.the/deps/osxcross/bin" >> $GITHUB_PATH
- run: sudo sed -e 's/#define _WIN32_WINNT .*/#define _WIN32_WINNT 0x0A00/' -i /usr/share/mingw-w64/include/_mingw.h

- run: |
msg="${{ github.event.release.tag_name }}"
echo "VERSION=${msg:1}" >> $GITHUB_ENV
Expand Down

0 comments on commit 7ea1f48

Please sign in to comment.