diff --git a/.github/workflows/build-win64.yml b/.github/workflows/build-win64.yml new file mode 100644 index 00000000..d79c205b --- /dev/null +++ b/.github/workflows/build-win64.yml @@ -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