[ci] move to github actions #6
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: Tests | |
on: [push, repository_dispatch] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
strategy: | |
fail-fast: false | |
matrix: | |
haxe: [4.3.2, latest] | |
steps: | |
- uses: actions/checkout@v1 | |
- name: Setup haxe ${{ matrix.haxe }} | |
uses: krdlab/setup-haxe@v1 | |
with: | |
haxe-version: ${{ matrix.haxe }} | |
- name: Install libs | |
run: | | |
haxelib newrepo | |
haxelib install munit | |
haxelib install hxnodejs | |
haxelib git tink_hxx https://github.com/kLabz/tink_hxx.git | |
haxelib git tink_anon https://github.com/haxetink/tink_anon.git | |
- name: Run tests | |
run: | | |
haxelib run munit test -js | |
- name: "[Samples] SSR sample : react-next docs website" | |
run: | | |
cd samples/docs | |
make setup | |
make server | |
make static | |