From 189754016a353444bb1bb9260f50be6b94d6912e Mon Sep 17 00:00:00 2001 From: Vortex <73261680+Vortex2Oblivion@users.noreply.github.com> Date: Wed, 11 Dec 2024 21:04:28 +0000 Subject: [PATCH] Create main.yml --- .github/workflows/main.yml | 62 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 62 insertions(+) create mode 100644 .github/workflows/main.yml diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml new file mode 100644 index 0000000..92dafb9 --- /dev/null +++ b/.github/workflows/main.yml @@ -0,0 +1,62 @@ +name: CI build +on: + push: + branches: [ main ] + pull_request: + branches: [ main ] +jobs: + buildw-windows: + runs-on: windows-latest + steps: + - name: Checkout + uses: actions/checkout@main + with: + submodules: true + + - name: Setup Haxe + uses: krdlab/setup-haxe@master + with: + haxe-version: 4.3.6 + + - name: Compiling + run: | + haxelib --quiet git hxpy https://github.com/Vortex2Oblivion/flixel-raylib + cd test + haxe build.hxml + build-macos: + runs-on: macos-latest + steps: + - name: Checkout + uses: actions/checkout@main + with: + submodules: true + + - name: Setup Haxe + uses: krdlab/setup-haxe@master + with: + haxe-version: 4.3.6 + + - name: Compiling + run: | + haxelib --quiet git hxpy https://github.com/Vortex2Oblivion/flixel-raylib + cd test + haxe build.hxml + build-linux: + runs-on: ubuntu-latest + steps: + - name: Checkout + uses: actions/checkout@main + with: + submodules: true + + - name: Setup Haxe + uses: krdlab/setup-haxe@master + with: + haxe-version: 4.3.6 + + - name: Compiling + run: | + haxelib --quiet git hxpy https://github.com/Vortex2Oblivion/flixel-raylib + cd test + haxe build.hxml +