Added CI for Windows
Signed-off-by: Maxim Logaev <maxlogaev@proton.me>
This commit is contained in:
parent
89d84edd8e
commit
40fa2fc335
32
.github/workflows/build-win64.yml
vendored
Normal file
32
.github/workflows/build-win64.yml
vendored
Normal 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
|
Loading…
Reference in a new issue