From fd4b9658f2a590cf90fd6d3004fb71576fa2d66f Mon Sep 17 00:00:00 2001 From: Adrian Szuszkiewicz Date: Wed, 13 Mar 2024 14:48:20 +0100 Subject: [PATCH] Add workflow stub for macos (References: #42) --- .github/workflows/build-macos.yml | 52 +++++++++++++++++++++++++++++++ 1 file changed, 52 insertions(+) create mode 100644 .github/workflows/build-macos.yml diff --git a/.github/workflows/build-macos.yml b/.github/workflows/build-macos.yml new file mode 100644 index 0000000..3513cfc --- /dev/null +++ b/.github/workflows/build-macos.yml @@ -0,0 +1,52 @@ +name: SUB - Build on macOS + +on: + workflow_dispatch: + inputs: + env: + description: "An Environment" + required: true + type: choice + options: + - development + - production + version: + description: "A Version" + required: true + type: string + + workflow_call: + inputs: + env: + description: "An Environment" + required: true + type: string + version: + description: "A Version" + required: true + type: string + +jobs: + build: + runs-on: "macos-latest" + + steps: + - uses: actions/checkout@v4 + + - uses: actions/setup-java@v3 + with: + distribution: 'temurin' + java-version: '11' + + - uses: krdlab/setup-haxe@v1 + with: + haxe-version: 4.2.5 + + - uses: joshtynjala/setup-apache-flex-action@v2 + with: + flex-version: "4.16.1" + air-version: "33.1" + accept-air-license: true + + - name: Build with Ant + run: ant -noinput -buildfile 'MoonshineSDKInstaller/build/build.xml'