-
Notifications
You must be signed in to change notification settings - Fork 88
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* [CI] Add GitHub Actions CI, addresses #33 * Remove Travis-CI from README
- Loading branch information
Showing
2 changed files
with
24 additions
and
2 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,24 @@ | ||
name: CI | ||
on: [push, pull_request] | ||
|
||
jobs: | ||
CI: | ||
strategy: | ||
matrix: | ||
env: | ||
- {ROS_DISTRO: melodic} | ||
- {ROS_DISTRO: noetic} | ||
env: | ||
CCACHE_DIR: /github/home/.ccache # Enable ccache | ||
PRERELEASE: true | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
# This step will fetch/store the directory used by ccache before/after the ci run | ||
- uses: actions/cache@v2 | ||
with: | ||
path: ${{ env.CCACHE_DIR }} | ||
key: ccache-${{ matrix.env.ROS_DISTRO }}-${{ matrix.env.ROS_REPO }} | ||
# Run industrial_ci | ||
- uses: 'ros-industrial/industrial_ci@master' | ||
env: ${{ matrix.env }} |
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