|
@@ -22,10 +22,9 @@ jobs:
|
|
fail-fast: false
|
|
fail-fast: false
|
|
matrix:
|
|
matrix:
|
|
include:
|
|
include:
|
|
- # TODO cannot build 32 bit binaries. compile errors
|
|
|
|
- #- target: linux-i386
|
|
|
|
- # runner: ubuntu-18.04
|
|
|
|
- # haxe_latest_dist: linux64/haxe_latest.tar.gz
|
|
|
|
|
|
+ - target: linux-i386
|
|
|
|
+ runner: ubuntu-18.04
|
|
|
|
+ haxe_latest_dist: linux64/haxe_latest.tar.gz
|
|
|
|
|
|
- target: linux-amd64
|
|
- target: linux-amd64
|
|
runner: ubuntu-18.04
|
|
runner: ubuntu-18.04
|
|
@@ -56,13 +55,13 @@ jobs:
|
|
msbuild_WindowsTargetPlatformVersion: 8.1
|
|
msbuild_WindowsTargetPlatformVersion: 8.1
|
|
|
|
|
|
steps:
|
|
steps:
|
|
- - name: "SCM Checkout"
|
|
|
|
|
|
+ - name: "SCM Checkout"
|
|
uses: actions/checkout@v2
|
|
uses: actions/checkout@v2
|
|
|
|
|
|
- name: "Install: Visual C++ build tools workload for Visual Studio 2017 Build Tools"
|
|
- name: "Install: Visual C++ build tools workload for Visual Studio 2017 Build Tools"
|
|
if: startsWith(matrix.target, 'win')
|
|
if: startsWith(matrix.target, 'win')
|
|
run: choco install visualstudio2017buildtools visualstudio2017-workload-vctools
|
|
run: choco install visualstudio2017buildtools visualstudio2017-workload-vctools
|
|
-
|
|
|
|
|
|
+
|
|
- name: "Install: Windows 8.1 SDK"
|
|
- name: "Install: Windows 8.1 SDK"
|
|
shell: powershell
|
|
shell: powershell
|
|
if: startsWith(matrix.target, 'win')
|
|
if: startsWith(matrix.target, 'win')
|
|
@@ -76,7 +75,7 @@ jobs:
|
|
uses: microsoft/[email protected]
|
|
uses: microsoft/[email protected]
|
|
with:
|
|
with:
|
|
vs-version: '[15.0,16.0)'
|
|
vs-version: '[15.0,16.0)'
|
|
-
|
|
|
|
|
|
+
|
|
- name: "Install: Required Dev Packages"
|
|
- name: "Install: Required Dev Packages"
|
|
run: |
|
|
run: |
|
|
set -eux
|
|
set -eux
|
|
@@ -205,7 +204,7 @@ jobs:
|
|
//p:Configuration=${{ matrix.msbuild_Configuration }} \
|
|
//p:Configuration=${{ matrix.msbuild_Configuration }} \
|
|
//p:Platform=${{ matrix.msbuild_Platform }} \
|
|
//p:Platform=${{ matrix.msbuild_Platform }} \
|
|
//p:PlatformToolset=${{ matrix.msbuild_PlatformToolset }} \
|
|
//p:PlatformToolset=${{ matrix.msbuild_PlatformToolset }} \
|
|
- //p:WindowsTargetPlatformVersion=${{ matrix.msbuild_WindowsTargetPlatformVersion }}
|
|
|
|
|
|
+ //p:WindowsTargetPlatformVersion=${{ matrix.msbuild_WindowsTargetPlatformVersion }}
|
|
;;
|
|
;;
|
|
esac
|
|
esac
|
|
|
|
|
|
@@ -305,14 +304,14 @@ jobs:
|
|
publish-latest-release:
|
|
publish-latest-release:
|
|
###########################################################
|
|
###########################################################
|
|
runs-on: ubuntu-latest
|
|
runs-on: ubuntu-latest
|
|
- needs:
|
|
|
|
|
|
+ needs:
|
|
- build
|
|
- build
|
|
if: github.ref == 'refs/heads/master'
|
|
if: github.ref == 'refs/heads/master'
|
|
concurrency: publish-latest-release # https://docs.github.com/en/actions/reference/workflow-syntax-for-github-actions#jobsjob_idconcurrency
|
|
concurrency: publish-latest-release # https://docs.github.com/en/actions/reference/workflow-syntax-for-github-actions#jobsjob_idconcurrency
|
|
|
|
|
|
steps:
|
|
steps:
|
|
|
|
|
|
- - name: "SCM Checkout"
|
|
|
|
|
|
+ - name: "SCM Checkout"
|
|
# only required by "hub release create" to prevent "fatal: Not a git repository"
|
|
# only required by "hub release create" to prevent "fatal: Not a git repository"
|
|
uses: actions/checkout@v2
|
|
uses: actions/checkout@v2
|
|
|
|
|