2024-03-12 11:15:32 +00:00
|
|
|
name: Build for Windows
|
|
|
|
on: [pull_request, push]
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
build:
|
|
|
|
runs-on: windows-latest
|
|
|
|
steps:
|
|
|
|
- uses: msys2/setup-msys2@v2
|
|
|
|
with:
|
|
|
|
msystem: MINGW64
|
|
|
|
update: true
|
2024-03-12 12:51:00 +00:00
|
|
|
install: git
|
|
|
|
- run: git config --global core.autocrlf input
|
|
|
|
- uses: actions/checkout@v4
|
2024-03-12 11:15:32 +00:00
|
|
|
- name: Build Dino
|
|
|
|
run: |
|
2024-03-12 12:51:00 +00:00
|
|
|
msys2 -c './build-win64.sh --prepare'
|
|
|
|
msys2 -c './build-win64.sh'
|
2024-03-12 11:15:32 +00:00
|
|
|
- name: Build Dino Installer
|
|
|
|
run: |
|
2024-03-12 12:51:00 +00:00
|
|
|
msys2 -c './build-win64.sh --build-installer'
|
|
|
|
- name: Upload Dino Installer
|
|
|
|
uses: actions/upload-artifact@v4
|
2024-03-12 11:15:32 +00:00
|
|
|
with:
|
2024-03-12 12:51:00 +00:00
|
|
|
name: dino-installer
|
2024-03-12 11:15:32 +00:00
|
|
|
path: windows-installer/dino-installer.exe
|