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 +