aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows
diff options
context:
space:
mode:
Diffstat (limited to '.github/workflows')
-rw-r--r--.github/workflows/test.yml40
1 files changed, 40 insertions, 0 deletions
diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml
new file mode 100644
index 000000000..916ecdb79
--- /dev/null
+++ b/.github/workflows/test.yml
@@ -0,0 +1,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 ..
+