haxeui-core push: Merge remote-tracking branch 'origin/master' #1300
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build | |
on: [push, repository_dispatch] | |
jobs: | |
build: | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
os: [ubuntu-latest, macos-13, windows-latest] | |
haxe-version: [4.0.5, 4.1.5, 4.2.2, 4.3.0, 4.3.1] | |
target: [linux, mac, windows] | |
exclude: | |
- os: ubuntu-latest | |
target: windows | |
- os: ubuntu-latest | |
target: mac | |
- os: windows-latest | |
target: linux | |
- os: windows-latest | |
target: mac | |
- os: macos-13 | |
target: linux | |
- os: macos-13 | |
target: windows | |
steps: | |
- uses: actions/checkout@v1 | |
- name: Setup Haxe (${{ matrix.target }}, haxe ${{ matrix.haxe-version }}, ${{ matrix.os }}) | |
uses: krdlab/setup-haxe@v1 | |
with: | |
haxe-version: ${{ matrix.haxe-version }} | |
- name: Setup app (${{ matrix.target }}, haxe ${{ matrix.haxe-version }}, ${{ matrix.os }}) | |
run: | | |
git clone --branch master https://github.com/haxeui/haxeui-core.git --depth=1 | |
haxelib dev haxeui-core haxeui-core | |
haxelib dev haxeui-nme . | |
haxelib install hxcpp --always --quiet | |
haxelib install actuate --always --quiet | |
haxelib install nme --always --quiet | |
- name: Build app (${{ matrix.target }}, haxe ${{ matrix.haxe-version }}, ${{ matrix.os }}) | |
run: | | |
cd .github/workflows/project | |
haxelib run nme build ${{ matrix.target }} |