Skip to content

Update README.md

Update README.md #30

Workflow file for this run

name: Tests
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
# This workflow contains a single job called "build"
build:
strategy:
matrix:
haxe: [4.2.5, 4.3.2]
# The type of runner that the job will run on
runs-on: ubuntu-latest
# Steps represent a sequence of tasks that will be executed as part of the job
steps:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- uses: actions/checkout@v4
- name: Setup Haxe environment
uses: krdlab/setup-haxe@v1
with:
haxe-version: ${{matrix.haxe}}
- name: Configure Haxe Environment
run: |
haxe -version
haxelib install utest 1.13.2
haxelib install hxcpp 4.3.2
haxelib dev jsoni18n .
- name: Compile tests
run: |
cd tests
haxe -main Main -lib jsoni18n -lib utest -cpp build
- name: Run tests
run: |
cd tests/build
./Main