From 61a7c59254fcb29e0c24e66115641eac382122ee Mon Sep 17 00:00:00 2001 From: Luke Ceddia Date: Wed, 8 Jan 2020 21:55:08 +1100 Subject: [PATCH] Add windows x64 build --- .ci/deploy.bat | 1 + .ci/win-exclusion.list | 1 + .github/workflows/run.yml | 28 ++++++++++++++++++++++++---- 3 files changed, 26 insertions(+), 4 deletions(-) diff --git a/.ci/deploy.bat b/.ci/deploy.bat index 0b1909f9d..5c332f903 100644 --- a/.ci/deploy.bat +++ b/.ci/deploy.bat @@ -1,3 +1,4 @@ +@ECHO OFF SETLOCAL ENABLEEXTENSIONS ENABLEDELAYEDEXPANSION cd .. diff --git a/.ci/win-exclusion.list b/.ci/win-exclusion.list index 7d5615b6f..fc0e6e62c 100644 --- a/.ci/win-exclusion.list +++ b/.ci/win-exclusion.list @@ -1,3 +1,4 @@ setup_lnx.sh setup_osx.command qb64_start_osx.command +qb64_bootstrap.exe diff --git a/.github/workflows/run.yml b/.github/workflows/run.yml index 6e41809c7..40d5352ff 100644 --- a/.github/workflows/run.yml +++ b/.github/workflows/run.yml @@ -2,12 +2,10 @@ on: push: branches: - development - - githubactions jobs: macos-build: runs-on: macos-latest - if: false steps: - uses: actions/checkout@v2 - name: Bootstrap compiler @@ -31,7 +29,6 @@ jobs: linux-build: runs-on: ubuntu-latest - if: false steps: - uses: actions/checkout@v2 - name: Install dependencies @@ -89,4 +86,27 @@ jobs: if: github.event_name == 'push' run: .ci/deploy.bat - + windows-x64-build: + runs-on: windows-latest + env: + PLATFORM: x64 + steps: + - uses: actions/checkout@v2 + - name: Bootstrap compiler + run: .ci/bootstrap.bat + - name: Compile + run: .ci/compile.bat + - name: Set deployment SSH key + if: github.event_name == 'push' + uses: shimataro/ssh-key-action@v1 + with: + private-key: ${{ secrets.SSH_KEY }} + public-key: ${{ secrets.SSH_KEY_PUBLIC }} + known-hosts: "qb64.org ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAQEAtmlTks7NPQHwvQiW+P2P8voWXfwYD+EuU39ERiaVw5g/lG/6pU1SKdrRBg2AtaPToPgK/nQyaid3sO2aWO00ixiKB3JPJoVp3nRY8YFi/AtVtVot/xh6+39fjP59tMCnMCbXTKjyMWL0kkwzd+OT8wryRZ/EgjK3vk9UGYzxKSr8G/KKV3GBDrJOdpHT2gNUcDFg6HSMvM860ZOF8n6jKRwp7MM0SpptufuQDgj/LhHcqQtFOqkhW9HXNmZR7IPchb5tsUubbPdSLu043B0ir2x5sCkK9V+inZExPg7KwIZ0yRsSv5esgLaBdyf1UToU3LU4ZM1hWjcJsp2fCBRkhw==" + config: | + Host remote-server + HostName qb64.org + User m6rosupy1q2t + - name: Package and deploy + if: github.event_name == 'push' + run: .ci/deploy.bat