forked from osrf/gzweb
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Updates for GitHub Signed-off-by: Louise Poubel <louise@openrobotics.org> * install deps Signed-off-by: Louise Poubel <louise@openrobotics.org> * don't install node again Signed-off-by: Louise Poubel <louise@openrobotics.org> * update image Signed-off-by: Louise Poubel <louise@openrobotics.org> * update image Signed-off-by: Louise Poubel <louise@openrobotics.org> * update image Signed-off-by: Louise Poubel <louise@openrobotics.org> * remove node 12.x Signed-off-by: Louise Poubel <louise@openrobotics.org> * install chrome Signed-off-by: Louise Poubel <louise@openrobotics.org> * sudo all the things Signed-off-by: Louise Poubel <louise@openrobotics.org> * move sudo Signed-off-by: Louise Poubel <louise@openrobotics.org> * sudo-do-do-do-do Signed-off-by: Louise Poubel <louise@openrobotics.org> * try --disable-gpu Signed-off-by: Louise Poubel <louise@openrobotics.org> * enable HardwareAccelerationModeEnabled Signed-off-by: Louise Poubel <louise@openrobotics.org> * skip tests and coverage for now Signed-off-by: Louise Poubel <louise@openrobotics.org> * Try firefox just in case Signed-off-by: Louise Poubel <louise@openrobotics.org> * no display? Signed-off-by: Louise Poubel <louise@openrobotics.org> * give up Signed-off-by: Louise Poubel <louise@openrobotics.org>
- Loading branch information
Showing
7 changed files
with
46 additions
and
39 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
name: Node.js CI | ||
|
||
on: [push] | ||
|
||
jobs: | ||
build: | ||
|
||
runs-on: ubuntu-16.04 | ||
|
||
strategy: | ||
matrix: | ||
node-version: [8.x, 10.x] | ||
|
||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: Use Node.js ${{ matrix.node-version }} | ||
uses: actions/setup-node@v1 | ||
with: | ||
node-version: ${{ matrix.node-version }} | ||
- run: sudo apt update | ||
- run: sudo apt install -y libjansson-dev libboost-dev imagemagick libtinyxml-dev git cmake build-essential wget libgazebo7-dev | ||
- run: sudo npm install -g grunt | ||
# - run: sudo bash -c 'echo "deb http://dl.google.com/linux/chrome/deb/ stable main" > /etc/apt/sources.list.d/chrome.list' | ||
# - run: sudo wget -q -O - https://dl-ssl.google.com/linux/linux_signing_key.pub | sudo apt-key add - | ||
# - run: sudo apt update | ||
# - run: sudo apt install -y xvfb google-chrome-stable gnustep-base-runtime | ||
# - run: sudo wget -q -O /usr/bin/xvfb-chrome https://gist.githubusercontent.com/chapulina/a80bd83d3494c96dc9eead843579c435/raw/7d304595d401c1265b533626d542ace7e6916002/xvfb-chrome | ||
# - run: sudo ln -sf /usr/bin/xvfb-chrome /usr/bin/google-chrome | ||
# - run: sudo chmod 755 /usr/bin/google-chrome | ||
# - run: defaults write com.google.chrome HardwareAccelerationModeEnabled -integer 1 | ||
# - run: export DISPLAY=:0 | ||
- run: npm run deploy | ||
# - run: npm test | ||
# - run: npm run coverage | ||
- run: npm run update | ||
- run: npm run docs | ||
env: | ||
CI: true | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters