upgrade to electron v39.2.6 #158
Workflow file for this run
This file contains hidden or 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.7 | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v4 | |
| - name: Install haxe ${{ matrix.haxe }} | |
| uses: krdlab/setup-haxe@v1.5.1 | |
| 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 dependencies | |
| working-directory: demo | |
| run: npm ci | |
| - name: Build demo application | |
| run: | | |
| haxe --cwd demo main.hxml | |
| haxe --cwd demo app.hxml | |
| - name: Install virtual display | |
| run: sudo apt-get update && sudo apt-get install -y xvfb | |
| - name: Run demo application | |
| env: | |
| ELECTRON_DISABLE_SECURITY_WARNINGS: 1 | |
| run: | | |
| cd demo | |
| xvfb-run --server-args="-screen 0 1024x768x24" \ | |
| npx electron . --no-sandbox --timeout=5 |