Skip to content

Commit

Permalink
Remove installation of Node.js in CI
Browse files Browse the repository at this point in the history
Node.js is now included in the CI image.
  • Loading branch information
treiher committed Aug 21, 2023
1 parent d403c0a commit dde32d4
Showing 1 changed file with 0 additions and 17 deletions.
17 changes: 0 additions & 17 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,6 @@ variables:
# If set to 1, the packaging of RecordFlux including the compilation of the langkit-based parser will be tested.
CLEAN_RECORDFLUX_SETUP: 0

NVM_DIR: $CI_PROJECT_DIR/.nvm

workflow:
rules:
# Switch between branch pipelines and merge request pipelines to ensure that all checks must
Expand Down Expand Up @@ -66,15 +64,6 @@ workflow:
- . .venv$PYTHON_VERSION/bin/activate
- make init install

.activate_nvm: &activate_nvm
- . $NVM_DIR/nvm.sh

.setup_nvm: &setup_nvm
- mkdir -p $NVM_DIR
- curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.4/install.sh | bash
- . $NVM_DIR/nvm.sh --no-use
- nvm install v$NODE_VERSION

setup:
extends: .initialization
services:
Expand All @@ -88,12 +77,10 @@ setup:
- .venv3.10
- .venv3.11
- alr
- $NVM_DIR
script:
- git fetch --unshallow
- *setup_alire
- *setup_gnat
- *setup_nvm
- export PYTHON_VERSION=3.8
- *setup_python_venv
- make clean
Expand Down Expand Up @@ -185,7 +172,6 @@ tests:
- *setup_gnat
- *setup_gnat_cross
- *setup_python
- *activate_nvm
- make test

python_compatibility:
Expand Down Expand Up @@ -229,7 +215,6 @@ gnat_pro_compatibility:
- git fetch --unshallow
- *update_timestamps_of_generated_code
- *setup_gnat
- *activate_nvm
- *setup_python
- export GNAT=pro$GNAT_VERSION
- make test_compilation
Expand Down Expand Up @@ -259,7 +244,6 @@ gnat_fsf_compatibility:
- eval `$CI_PROJECT_DIR/alr printenv`
- popd
- gnat --version
- *activate_nvm
- *setup_python
- export GNAT=fsf$GNAT_VERSION
- make test_compilation
Expand Down Expand Up @@ -292,7 +276,6 @@ gnat_community_compatibility:
- sh ./install_package.sh ./gnat-x86_64-linux-bin $CI_PROJECT_DIR/gnat
- export PATH=$CI_PROJECT_DIR/gnat/bin:$PATH
- gnat --version
- *activate_nvm
- *setup_python
- export GNAT=community$GNAT_VERSION
- make test_compilation
Expand Down

0 comments on commit dde32d4

Please sign in to comment.