Skip to content

much simpler

much simpler #30

Workflow file for this run

name: C/C++ CI
on:
push:
paths:
- 'src/*'
- 'include/*'
- '.github/**'
jobs:
notification:
runs-on: ubuntu-latest
name: Notify start to ##gitlama
steps:
- name: IRC notification
uses: Gottox/irc-message-action@v1
with:
server: irc.uvt.nl
channel: '#gitlama'
nickname: GitHub
message: |-
${{ github.actor }} started a build of colibri-core
build:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest]
compiler: [g++]
steps:
- uses: actions/checkout@v2
- name: Install Build Environment
run: |
if [ "$RUNNER_OS" == "Linux" ]; then
sudo apt-get install pkg-config autoconf-archive
fi
- name: Build and install Colibri-Core
env:
CXX: ${{ matrix.compiler }}
run: |
bash bootstrap
./configure
make
sudo make install
- name: test
env:
CXX: ${{ matrix.compiler }}
run: colibri-test
continue-on-error: true
- name: Notify IRC of failure
if: ${{ failure() }}
uses: Gottox/irc-message-action@v1
with:
server: irc.uvt.nl
channel: '#gitlama'
nickname: GitHub
message: "Building colibri-core with ${{ matrix.compiler }} by ${{ github.actor }} on ${{ matrix.os }}: \u00034FAIL\u0003"
- name: Notify IRC of success
if: ${{ success() }}
uses: Gottox/irc-message-action@v1
with:
server: irc.uvt.nl
channel: '#gitlama'
nickname: GitHub
message: "Building colibri-core with ${{ matrix.compiler }} by ${{ github.actor }} on ${{ matrix.os }}: \u00033SUCCESS\u0003"