aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows/test.yml
blob: 9f7c371167d51bf8ea7deb6631cdf73be86b2242 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
name: test_everything
on: [push]
jobs:
  test_stdlib:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v2
      # Setup Aedifex
      - run: wget https://github.com/LuxLang/lux/releases/download/0.6.5/aedifex_do_not_touch_0.jar && mv aedifex_do_not_touch_0.jar aedifex.jar
      - run: mv ./shell/lux.sh ./lux.sh
      # Test on the JVM
      # 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 ..
#      # Test on Lua
#      # https://github.com/marketplace/actions/setup-lua-luajit
#      - uses: xpol/setup-lua@v0.3
#      - run: cd ./stdlib/ && ../lux.sh clean && ../lux.sh with lua with bibliotheca test && cd ..
#      # Test on Python
#      # https://github.com/actions/setup-python
#      - uses: actions/setup-python@v2
#        with:
#          python-version: '3.9'
#          architecture: 'x64'
#      - run: cd ./stdlib/ && ../lux.sh clean && ../lux.sh with python with bibliotheca test && cd ..
#      # Test on Ruby
#      # https://github.com/actions/setup-ruby
#      - uses: actions/setup-ruby@v1
#        with:
#          ruby-version: '2.6'
#      - run: cd ./stdlib/ && ../lux.sh clean && ../lux.sh with ruby with bibliotheca test && cd ..