Skip to content

Add compilation without any warning to the CI #187

Add compilation without any warning to the CI

Add compilation without any warning to the CI #187

Workflow file for this run

name: Build
on:
push:
branches: [ "*" ]
pull_request:
branches: [ "*" ]
env:
BUILD_TYPE: Release
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
submodules: recursive
- name: Install dependencies
run: sudo apt-get install libboost-all-dev libeigen3-dev liblemon-dev
- name: Configure CMake
run: cmake -B ${{github.workspace}}/build -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}}
- name: Build
run: cmake --build ${{github.workspace}}/build --config ${{env.BUILD_TYPE}}
- name: Test
working-directory: ${{github.workspace}}/build
run: ctest -C ${{env.BUILD_TYPE}}
build-meson:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
submodules: recursive
- name: Install dependencies
run: sudo apt-get install libboost-all-dev libeigen3-dev ninja-build; pip3 install cmake meson
- name: Build
run: meson setup build; meson compile -C build
- name: Test
run: meson test -C build
build-python:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
submodules: recursive
- name: Install dependencies
run: sudo apt-get install libboost-all-dev libeigen3-dev ninja-build liblemon-dev; pip3 install cmake meson
- name: Build
run: cd pycoloquinte; python3 setup.py install --user
- name: Download test
run: wget https://github.com/Coloquinte/PlaceRoute/releases/download/benchmark/adaptec1.tar.gz; tar -xzf adaptec1.tar.gz
- name: Run typical test
run: coloquinte --effort 1 adaptec1
- name: Run scaled test
run: coloquinte --effort 1 --density 0.75 adaptec1