Query max texture size only once instead of every time it's needed. #4043
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: CI | |
on: | |
push: | |
pull_request: | |
workflow_dispatch: | |
repository_dispatch: | |
schedule: | |
- cron: '0 4 * * *' | |
jobs: | |
build: | |
strategy: | |
matrix: | |
haxe-version: ["4.2.5", "4.3.6"] | |
target: [html5, hl, neko, flash, cpp] | |
fail-fast: false | |
runs-on: ubuntu-latest | |
steps: | |
- run: sudo apt-get update | |
- uses: actions/checkout@v3 | |
- uses: krdlab/setup-haxe@v1 | |
with: | |
haxe-version: ${{matrix.haxe-version}} | |
- name: "Configure Haxelib" | |
run: | | |
haxelib setup /home/runner/haxe/haxelib/ | |
haxelib install haxelib 4.0.3 | |
haxelib dev flixel . | |
- uses: HaxeFlixel/setup-flixel@master | |
with: | |
flixel-versions: dev | |
test-location: local | |
target: ${{matrix.target}} | |
run-tests: true |