Skip to content

allow configuring behavior on unsupported conversion #23

allow configuring behavior on unsupported conversion

allow configuring behavior on unsupported conversion #23

Workflow file for this run

name: CI
on:
push:
pull_request:
branches: [ master ]
env:
CI: "true"
jobs:
test:
runs-on: ubuntu-latest
continue-on-error: ${{ matrix.haxe-version == 'nightly' }}
strategy:
matrix:
haxe-version:
- 4.3.4
- stable
- nightly
target:
- cpp -lib linc_lua -D NO_PRECOMPILED_HEADERS -D HXCPP_VERBOSE
- node -lib hxjs-fengari
steps:
- name: Check Node.js Version
run: node -v
- name: Check out repo
uses: actions/checkout@v3
- name: Get yarn cache directory path
id: yarn-cache-dir-path
run: echo "dir=$(yarn cache dir)" >> $GITHUB_OUTPUT
- name: Cache Yarn
uses: actions/cache@v3
with:
path: ${{ steps.yarn-cache-dir-path.outputs.dir }}
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
restore-keys: |
${{ runner.os }}-yarn-
- name: Cache Haxe
uses: actions/cache@v3
with:
path: ${{ startsWith(runner.os, 'windows') && '%AppData%' || '~/haxe' }}
key: ${{ runner.os }}-haxe
- name: Install Lix
uses: lix-pm/setup-lix@master
with:
lix-version: 15.12.1
- name: Install Haxe
run: lix install haxe ${{ matrix.haxe-version }}
- name: Install Haxe Libraries
run: lix download
- name: Debug
run: pushd ~/haxe/haxe_libraries/hxcpp/4.3.0/github/01cfee282a9a783e10c5a7774a3baaf547e6b0a7/tools/hxcpp && haxe compile.hxml && popd
- name: Run Test
run: lix run travix ${{ matrix.target }}