33 lines
824 B
YAML
33 lines
824 B
YAML
|
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
|