Skip to content

Matrix setup

Cédric Belin edited this page Nov 3, 2024 · 9 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.x, latest]
    steps:
      - uses: actions/checkout@v4
      - uses: lix-pm/setup-lix@master
      - uses: cedx/setup-hashlink@v6
        with:
          version: ${{matrix.version}}
      - run: hl --version
      - run: lix download
      - run: haxe test.hxml
Clone this wiki locally