-
-
Notifications
You must be signed in to change notification settings - Fork 143
51 lines (46 loc) · 1.4 KB
/
nvm.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
name: Node.js NVM
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
build:
runs-on: ubuntu-latest
env:
ADDITIONAL_PARAMETERS: --without-snapshot
CFLAGS: -O2
CXXFLAGS: -O2
strategy:
matrix:
# node-version: [ '0.8.x', '0.6.x' ]
node-version: [ '0.8.x' ]
steps:
- run: sudo apt-get install -y python2.7
- 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
- run: ulimit -v unlimited
#- run: export PYTHON=/usr/bin/python2.7
- uses: actions/checkout@v4
#- run: export CFLAGS=-O2
#- run: export CXXFLAGS=-O2
- run: echo $CFLAGS
- run: echo $CXXFLAGS
#- run: export ADDITIONAL_PARAMETERS=--without-snapshot
#- run: export ADDITIONAL_PARAMETERS=CFLAGS='-O2' CXXFLAGS='-O2'
- run: echo $ADDITIONAL_PARAMETERS
- name: Use Node.js ${{ matrix.node-version }}
uses: dcodeIO/setup-node-nvm@v5
with:
node-version: ${{ matrix.node-version }}
node-mirror: https://nodejs.org/dist
- run: sudo apt-get install -y stunnel
- run: stunnel etc/stunnel.conf
- run: npm config set registry="http://registry.npmjs.org/"
- run: npm config set proxy http://localhost:8080
- run: npm install
- run: npm test
#- run: which nvm