aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows/test.yml
blob: 51b51ece0197f21579ef1ddb2d3d0aecb5677367 (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.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@v1
      - 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 ..