From 40fa2fc3358c28eeb8c645c38d2286660e9264fa Mon Sep 17 00:00:00 2001 From: Maxim Logaev Date: Tue, 12 Mar 2024 14:15:32 +0300 Subject: [PATCH] Added CI for Windows Signed-off-by: Maxim Logaev --- .github/workflows/build-win64.yml | 32 +++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 .github/workflows/build-win64.yml 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