diff options
Diffstat (limited to '.github/workflows')
-rw-r--r-- | .github/workflows/test.yml | 29 |
1 files changed, 19 insertions, 10 deletions
diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 813fd5c75..6583d8129 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -1,25 +1,34 @@ name: test_everything on: [push] jobs: - test_stdlib: - runs-on: ubuntu-latest + setup_aedifex: steps: - uses: actions/checkout@v2 - # Setup Aedifex - run: wget https://github.com/LuxLang/lux/releases/download/0.6.5/aedifex_do_not_touch_3.jar && mv aedifex_do_not_touch_3.jar aedifex.jar - run: mv ./shell/lux.sh ./lux.sh - # Test on the JVM + - run: cd ./stdlib/ && ../lux.sh clean && cd .. + test_stdlib_on_jvm: + needs: [setup_aedifex] + runs-on: ubuntu-latest + steps: # https://github.com/actions/setup-java - uses: actions/setup-java@v2 with: distribution: 'temurin' java-version: '17' - - run: cd ./stdlib/ && ../lux.sh clean && ../lux.sh with jvm with bibliotheca test && cd .. -# # Test on Node -# - uses: actions/setup-node@v2 -# with: -# node-version: '14' -# - run: cd ./stdlib/ && ../lux.sh clean && ../lux.sh with js with bibliotheca test && cd .. + - run: cd ./stdlib/ && ../lux.sh with jvm with bibliotheca test + test_stdlib_on_node_js: + needs: [setup_aedifex] + runs-on: ubuntu-latest + steps: + # https://github.com/actions/setup-node + - uses: actions/setup-node@v2 + with: + node-version: '14' + - run: cd ./stdlib/ && ../lux.sh with js with bibliotheca test +# test_stdlib: +# runs-on: ubuntu-latest +# steps: # # Test on Lua # # https://github.com/marketplace/actions/setup-lua-luajit # - uses: xpol/setup-lua@v0.3 |