Added better captions and workaround for NodeJS version in test workflow.
-name: Test
+name: Cross-Platform Test
on:
workflow_dispatch:
pull_request:
jobs:
-
- test:
-
- name: Test out the core
+ linux-test:
+ name: Linux (Ubuntu) GCC Test
runs-on: ubuntu-latest
steps:
- - name: Check out the repo
+ - name: Check out the repository
uses: actions/checkout@v2
with:
fetch-depth: 0
@@ -26,6 +24,7 @@ jobs:
DOTNET_CLI_TELEMETRY_OPTOUT: 'true'
METACALL_INSTALL_OPTIONS: root base python ruby netcore5 nodejs typescript file rpc wasm java c cobol rapidjson funchook swig pack # clangformat v8rep51 coverage
- name: Run the configuration script
+ # Reverting the NodeJS version to the system one by means of 'nvm use system'
run: |
export "METACALL_PATH=$(pwd)"
export "LOADER_LIBRARY_PATH=$METACALL_PATH/build"
@@ -34,6 +33,7 @@ jobs:
export "SERIAL_LIBRARY_PATH=$METACALL_PATH/build"
export "DETOUR_LIBRARY_PATH=$METACALL_PATH/build"
export "PORT_LIBRARY_PATH=$METACALL_PATH/build"
+ nvm use system
mkdir -p build
cd "$METACALL_PATH/build"
sudo "$METACALL_PATH/tools/metacall-configure.sh" $METACALL_BUILD_OPTIONS
