-
Notifications
You must be signed in to change notification settings - Fork 59
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix compilation against gazebo 11 (#194)
Signed-off-by: Ian Chen <[email protected]>
- Loading branch information
Showing
4 changed files
with
68 additions
and
5 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,63 @@ | ||
name: Node.js CI | ||
|
||
on: [push, pull_request] | ||
|
||
jobs: | ||
bionic-ci: | ||
|
||
runs-on: ubuntu-18.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 libgazebo9-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 --verbose | ||
# - run: npm test | ||
# - run: npm run coverage | ||
- run: npm run update | ||
- run: npm run docs | ||
env: | ||
CI: true | ||
|
||
focal-ci: | ||
|
||
runs-on: ubuntu-20.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 sh -c 'echo "deb http://packages.osrfoundation.org/gazebo/ubuntu-stable `lsb_release -cs` main" > /etc/apt/sources.list.d/gazebo-stable.list' | ||
- run: wget https://packages.osrfoundation.org/gazebo.key -O - | sudo apt-key add - | ||
- run: sudo apt update | ||
- run: sudo apt install -y libjansson-dev libboost-dev imagemagick libtinyxml-dev git cmake build-essential wget libgazebo11-dev | ||
- run: sudo npm install -g grunt | ||
- run: npm run deploy --verbose | ||
- 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 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