[CI] Alternative build/test without lix/vshaxe-build #4
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 - Vanilla | |
on: [push, pull_request] | |
jobs: | |
build: | |
strategy: | |
fail-fast: false | |
matrix: | |
os: [ubuntu-latest, macos-13, windows-latest] | |
haxe: [latest, "2024-11-27_development_2dc801f"] | |
runs-on: ${{ matrix.os }} | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: krdlab/setup-haxe@master | |
with: | |
haxe-version: ${{ matrix.haxe }} | |
- name: Cache haxelib | |
id: cache-haxelib | |
uses: actions/cache@v3.0.11 | |
with: | |
path: .haxelib | |
key: ${{ hashFiles('./install.hxml') }} | |
- name: Install npm dependencies | |
run: | | |
npm i terser | |
- name: Install haxelib dependencies | |
if: steps.cache-haxelib.outputs.cache-hit != 'true' | |
run: | | |
haxelib newrepo | |
haxelib state load install.hxml | |
- name: Check dependencies | |
run: | | |
haxe -version | |
haxelib list | |
- name: Build Haxe LSP | |
run: haxe build.hxml | |
- name: Run tests | |
run: haxe test.hxml |