From 42cc2921b3fa70852e6fd6b901599392cf7d566b Mon Sep 17 00:00:00 2001 From: Jaromil Date: Wed, 6 Nov 2024 19:39:26 +0100 Subject: [PATCH] chore(ci): js build and test with new setup --- .github/workflows/main.yml | 15 ++++++--------- 1 file changed, 6 insertions(+), 9 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 6141a45d4..1f6b10317 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -85,7 +85,7 @@ jobs: luacheck --config .luacheckrc --std lua54 . linux-test: - name: ๐Ÿง Linux build tests (musl and linux) + name: ๐Ÿง Linux check tests (gcc and clang) needs: [reuse, c-lint, lua-lint] if: "github.event_name == 'pull_request'" strategy: @@ -234,7 +234,7 @@ jobs: # run: make check-cortex-m js-build-check: - name: ๐Ÿฏ js build & checks + name: ๐Ÿฏ NodeJS WASM check tests needs: [reuse, c-lint, lua-lint] runs-on: ubuntu-latest if: "!contains(github.event.pull_request.labels.*.name, 'SKIP_JS')" @@ -257,20 +257,17 @@ jobs: run: | sudo apt-get -qy update sudo apt-get install -qy meson ninja-build - - name: Install yarn dependencies - run: | - yarn --cwd bindings/javascript - name: Build Zenroom Wasm run: | - yarn --cwd bindings/javascript build + make node-wasm env: EMSCRIPTEN: ${{ env.EMSDK }}/upstream/emscripten - name: ๐Ÿงช test bindings node-${{ matrix.node-version }} - run: | - yarn --cwd bindings/javascript test - - name: ๐Ÿ” check crypto with node-${{ matrix.node-version }} run: | make check-js + - name: ๐Ÿ” test zencode with node-${{ matrix.node-version } + run: | + make check python-check: name: ๐Ÿ Python checks