Skip to content

Merge branch 'master' of https://github.com/ilpincy/argos3 #68

Merge branch 'master' of https://github.com/ilpincy/argos3

Merge branch 'master' of https://github.com/ilpincy/argos3 #68

Workflow file for this run

name: Test ARGoS
on:
push:
branches:
- master
pull_request:
workflow_dispatch:
env:
BUILD_TYPE: Release
jobs:
Linux:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-18.04, ubuntu-20.04, ubuntu-22.04]
steps:
- uses: actions/checkout@v2
- name: Install dependencies
run: |
sudo apt-get update
sudo apt-get upgrade
sudo apt-get install cmake libfreeimage-dev libfreeimageplus-dev qt5-default freeglut3-dev libxi-dev libxmu-dev liblua5.3-dev lua5.3
- name: Configure ARGoS
run: cmake -S ${{github.workspace}}/src -B ${{github.workspace}}/build -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}} -DARGOS_DOCUMENTATION=OFF
- name: Build ARGoS
run: cmake --build ${{github.workspace}}/build --config ${{env.BUILD_TYPE}}
- name: Run tests
working-directory: ${{github.workspace}}/build
run: ctest -C ${{env.BUILD_TYPE}}
MacOS:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [macos-12]
steps:
- uses: actions/checkout@v2
- name: Install dependencies
run: |
brew update
brew upgrade
brew install cmake libpng freeimage lua qt
- name: Configure ARGoS
run: cmake -S ${{github.workspace}}/src -B ${{github.workspace}}/build -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}} -DARGOS_DOCUMENTATION=OFF
- name: Build ARGoS
run: cmake --build ${{github.workspace}}/build --config ${{env.BUILD_TYPE}}
- name: Run tests
working-directory: ${{github.workspace}}/build
run: ctest -C ${{env.BUILD_TYPE}}