Skip to content

Commit

Permalink
Modernize actions CI (#269)
Browse files Browse the repository at this point in the history
Signed-off-by: Louise Poubel <[email protected]>
  • Loading branch information
chapulina committed Aug 21, 2020
1 parent 0d4571f commit 3ae4654
Show file tree
Hide file tree
Showing 5 changed files with 47 additions and 23 deletions.
6 changes: 0 additions & 6 deletions .github/ci-bionic/after_make.sh

This file was deleted.

15 changes: 15 additions & 0 deletions .github/ci/after_make.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
#!/bin/sh -l

set -x

# Install (needed for some tests)
make install

# For ign-tools
export IGN_CONFIG_PATH=/usr/local/share/ignition

# For rendering / window tests
Xvfb :1 -screen 0 1280x1024x24 &
export DISPLAY=:1.0
export RENDER_ENGINE_VALUES=ogre2
export MESA_GL_VERSION_OVERRIDE=3.3
16 changes: 16 additions & 0 deletions .github/ci/packages.apt
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
libgflags-dev
libignition-cmake2-dev
libignition-common3-dev
libignition-fuel-tools3-dev
libignition-gui2-dev
libignition-math6-eigen3-dev
libignition-msgs4-dev
libignition-physics-dev
libignition-plugin-dev
libignition-rendering2-dev
libignition-sensors2-dev
libignition-tools-dev
libignition-transport7-dev
libsdformat8-dev
qml-module-qtqml-models2
xvfb
17 changes: 0 additions & 17 deletions .github/workflows/ci-bionic.yml

This file was deleted.

16 changes: 16 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
name: Ubuntu CI

on: [push]

jobs:
bionic-ci:
runs-on: ubuntu-latest
name: Ubuntu Bionic CI
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Compile and test
id: ci
uses: ignition-tooling/action-ignition-ci@master
with:
codecov-token: ${{ secrets.CODECOV_TOKEN }}

0 comments on commit 3ae4654

Please sign in to comment.