aboutsummaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
authorEduardo Julian2022-04-07 14:57:35 -0400
committerEduardo Julian2022-04-07 14:57:35 -0400
commitc85697eee8ce3dac5480a3ba2b31cc4943e1d8e6 (patch)
tree50db3f6547b0ad765e6b47e65546f30ad8861c0b /.github
parent9224e54bf175ebe13c3fae42f04b649413c737e7 (diff)
Better snapshot deployments for Aedifex.
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/setup_aedifex/action.yml8
-rw-r--r--.github/workflows/test.yml16
2 files changed, 15 insertions, 9 deletions
diff --git a/.github/workflows/setup_aedifex/action.yml b/.github/workflows/setup_aedifex/action.yml
index 873623b2f..e9d904779 100644
--- a/.github/workflows/setup_aedifex/action.yml
+++ b/.github/workflows/setup_aedifex/action.yml
@@ -10,15 +10,15 @@ runs:
distribution: 'temurin'
java-version: '17'
- # Presumably, whoever invokes this action already has done a checkout.
+ # Presumably, whoever invokes this action has already done a checkout.
# - uses: actions/checkout@v2
- - run: wget https://github.com/LuxLang/lux/releases/download/0.6.5/aedifex_do_not_touch_4.jar && mv aedifex_do_not_touch_4.jar aedifex.jar
+ - run: wget https://github.com/LuxLang/lux/releases/download/0.6.5/aedifex_do_not_touch_5.jar && mv aedifex_do_not_touch_5.jar aedifex.jar
shell: bash
- - run: mv ./shell/lux.sh ./lux.sh
+ - run: PATH="$PATH:./shell"
shell: bash
- - run: cd ./stdlib/ && ../lux.sh clean && cd ..
+ - run: cd ./stdlib/ && lux clean && cd ..
shell: bash
diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml
index 5fa49c578..6b98a1ad3 100644
--- a/.github/workflows/test.yml
+++ b/.github/workflows/test.yml
@@ -6,7 +6,13 @@ jobs:
steps:
- uses: actions/checkout@v2
- uses: ./.github/workflows/setup_aedifex
- - run: cd ./stdlib/ && ../lux.sh with jvm with bibliotheca test
+ - run: cd ./stdlib/ && lux with jvm with bibliotheca test
+ test_aedifex:
+ runs-on: ubuntu-latest
+ steps:
+ - uses: actions/checkout@v2
+ - uses: ./.github/workflows/setup_aedifex
+ - run: cd ./stdlib/ && lux with aedifex test
test_stdlib_on_node_js:
runs-on: ubuntu-latest
steps:
@@ -16,7 +22,7 @@ jobs:
- uses: actions/setup-node@v2
with:
node-version: '14'
- - run: cd ./stdlib/ && ../lux.sh with js with bibliotheca test
+ - run: cd ./stdlib/ && lux with js with bibliotheca test
test_stdlib_on_python_3:
runs-on: ubuntu-latest
steps:
@@ -27,7 +33,7 @@ jobs:
with:
python-version: '3.9'
architecture: 'x64'
- - run: cd ./stdlib/ && ../lux.sh with python with bibliotheca test
+ - run: cd ./stdlib/ && lux with python with bibliotheca test
test_stdlib_on_ruby:
runs-on: ubuntu-latest
steps:
@@ -37,7 +43,7 @@ jobs:
- uses: actions/setup-ruby@v1
with:
ruby-version: '2.6'
- - run: cd ./stdlib/ && ../lux.sh with ruby with bibliotheca test
+ - run: cd ./stdlib/ && lux with ruby with bibliotheca test
test_stdlib_on_lua:
runs-on: ubuntu-latest
steps:
@@ -45,5 +51,5 @@ jobs:
- uses: ./.github/workflows/setup_aedifex
# https://github.com/marketplace/actions/setup-lua-luajit
- uses: xpol/setup-lua@v0.3
- - run: cd ./stdlib/ && ../lux.sh with lua with bibliotheca test
+ - run: cd ./stdlib/ && lux with lua with bibliotheca test