Skip to content

Update workflow.

Update workflow. #28

Workflow file for this run

name: Node.js NVM Manual
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
build:
runs-on: ubuntu-latest
env:
NVM_NODEJS_ORG_MIRROR: https://nodejs.org/dist
# ADDITIONAL_PARAMETERS: --without-snapshot
# CFLAGS: -O2
# CXXFLAGS: -I/foo/openssl
# CXXFLAGS: -I/home/runner/.nvm/.cache/src/node-v0.6.21/files/deps/openssl/include
strategy:
matrix:
# node-version: [ '0.8.x', '0.6.x' ]
node-version: [ '0.6.x' ]
steps:
- run: echo $PWD
- run: ls
- run: ls /usr/local
- run: wget https://www.openssl.org/source/openssl-0.9.8r.tar.gz
- run: ls
- run: tar xvzf openssl-0.9.8r.tar.gz
#- run: apt list -a libssl-dev
- run: sudo apt-get update
#- run: sudo apt-get install libssl1.1
- run: sudo apt-get install -y python2.7
- run: sudo apt-get install -y libssl-dev
#- run: ls /usr/include
#- run: ls /usr/bin/p*
#- run: ls -la /usr/bin/python
- run: sudo ln -fs /usr/bin/python2.7 /usr/bin/python
#- run: ls -la /usr/bin/python
#- run: python --version
- uses: actions/checkout@v4
- run: echo $PWD
- run: curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.40.1/install.sh | bash
#- run: . $HOME/.nvm/nvm.sh && nvm install 0.6 --without-snapshot --openssl-includes=/home/runner/.nvm/.cache/src/node-v0.6.21/files/deps/openssl/include
#- run: . $HOME/.nvm/nvm.sh && nvm install 0.6 --without-snapshot --without-ssl
#- run: which nvm