Skip to content

Commit

Permalink
ci: fix install of node
Browse files Browse the repository at this point in the history
  • Loading branch information
mrpollo committed Nov 28, 2024
1 parent cd6ca83 commit 519dac2
Showing 1 changed file with 10 additions and 4 deletions.
14 changes: 10 additions & 4 deletions .github/workflows/failsafe_sim.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,17 +31,23 @@ jobs:
image: px4io/px4-dev-base-focal:2021-09-08
options: -v ${{ github.workspace }}:/workspace
run: |
DEBIAN_FRONTEND=noninteractive apt-get update -y --quiet
DEBIAN_FRONTEND=noninteractive apt-get -y --quiet --no-install-recommends install curl
curl -fsSL https://deb.nodesource.com/setup_20.x | sudo -E bash -
DEBIAN_FRONTEND=noninteractive apt-get -y --quiet --no-install-recommends install nodejs
::group::{Installing Dependencies}
export DEBIAN_FRONTEND=noninteractive
apt-get update -y --quiet
apt-get -y --quiet --no-install-recommends install curl
curl -fsSL https://deb.nodesource.com/setup_20.x | bash -
apt-get update -y --quiet
apt-get -y --quiet --no-install-recommends install nodejs
node --version
cd /workspace
git config --global --add safe.directory /workspace
git clone https://github.com/emscripten-core/emsdk.git _emscripten_sdk
cd _emscripten_sdk
./emsdk install latest
./emsdk activate latest
::endgroup::
::group::{Running Test}
cd /workspace
. ./_emscripten_sdk/emsdk_env.sh
make ${{ matrix.check }}
::endgroup::

0 comments on commit 519dac2

Please sign in to comment.