Upgrade to electron v29.2.0 #125
Workflow file for this run
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: test | |
on: | |
push: | |
pull_request: | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
strategy: | |
fail-fast: false | |
matrix: | |
haxe: | |
- latest | |
- 4.3.3 | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Install haxe ${{ matrix.haxe }} | |
uses: krdlab/[email protected] | |
with: | |
haxe-version: ${{ matrix.haxe }} | |
- name: Setup | |
run: | | |
haxe --version | |
haxelib dev electron . | |
haxelib install hxnodejs | |
- name: Build electron api | |
run: haxe api.hxml | |
- name: Build haxedoc.xml | |
run: haxe haxedoc.hxml | |
- name: Install demo application dependencies | |
run: cd demo && npm install | |
- name: Build demo application | |
run: | | |
haxe --cwd demo main.hxml | |
haxe --cwd demo app.hxml | |
- name: Setup virtual display | |
run: sudo apt install -y xvfb | |
- name: Run demo application | |
run: | | |
cd demo && xvfb-run npm start -- --timeout=5 | |
exit $? |