From c85697eee8ce3dac5480a3ba2b31cc4943e1d8e6 Mon Sep 17 00:00:00 2001 From: Eduardo Julian Date: Thu, 7 Apr 2022 14:57:35 -0400 Subject: Better snapshot deployments for Aedifex. --- .github/workflows/setup_aedifex/action.yml | 8 ++++---- .github/workflows/test.yml | 16 +++++++++++----- 2 files changed, 15 insertions(+), 9 deletions(-) (limited to '.github') 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 -- cgit v1.2.3