Skip to content

Matrix setup

Cédric Belin edited this page Oct 15, 2025 · 11 revisions

Setup multiple versions of the HashLink VM on multiple operating systems:

jobs:
  test:
    name: HashLink VM ${{matrix.version}} on ${{matrix.platform}}
    runs-on: ${{matrix.platform}}
    strategy:
      matrix:
        platform: [macos-latest, ubuntu-latest, windows-latest]
        version: [<=1.10, latest]
    steps:
      - uses: actions/checkout@v5
      - uses: lix-pm/setup-lix@master
      - uses: cedx/setup-hashlink@v7
        with:
          version: ${{matrix.version}}
      - run: hl --version
      - run: lix download
      - run: haxe test.hxml
Clone this wiki locally