Added CI for Windows

Signed-off-by: Maxim Logaev <maxlogaev@proton.me>
This commit is contained in:
Maxim Logaev 2024-03-12 14:15:32 +03:00
parent 89d84edd8e
commit 40fa2fc335

32
.github/workflows/build-win64.yml vendored Normal file
View file

@ -0,0 +1,32 @@
name: Build for Windows
on: [pull_request, push]
jobs:
build:
runs-on: windows-latest
defaults:
run:
shell: msys2 {0}
steps:
- uses: actions/checkout@v3
- uses: msys2/setup-msys2@v2
with:
msystem: MINGW64
update: true
- name: Build Dino
run: |
./build-win64.sh --prepare
./build-win64.sh
- name: Build Dino Installer
run: |
./build-win64.sh --build-installer
- name: Get Dino Installer
uses: actions/upload-artifact@v3
with:
name: windows-installer
path: windows-installer/dino-installer.exe
- name: Get Dino distribution
uses: actions/upload-artifact@v3
with:
name: win64-dist
path: windows-installer/win64-dist