Skip to content

Updated Dockerfile

Updated Dockerfile #67

Workflow file for this run

name: Boost.Test
on:
push:
jobs:
build:
runs-on: ubuntu-latest
container: maswag/monaa-test-env
strategy:
max-parallel: 4
steps:
- uses: actions/checkout@v4
with:
submodules: true
- name: default build
run: |
mkdir build
cd build && cmake .. && make monaa unit_test tre2ta
gcc_unit_test:
runs-on: ubuntu-latest
container: maswag/monaa-test-env
strategy:
max-parallel: 4
steps:
- uses: actions/checkout@v4
with:
submodules: true
- name: set gcc env
run: |
export CC=/usr/bin/gcc
export CXX=/usr/bin/g++
- name: build and test
run: |
mkdir -p gcc_build
cd gcc_build && cmake .. && make unit_test && ./unit_test
clang_unit_test:
runs-on: ubuntu-latest
container: maswag/monaa-test-env
strategy:
max-parallel: 4
steps:
- uses: actions/checkout@v4
with:
submodules: true
- name: set clang env
run: |
export CC=/usr/bin/clang
export CXX=/usr/bin/clang++
- name: build and test
run: |
mkdir -p clang_build
cd clang_build && cmake .. && make unit_test && ./unit_test
ubuntu_noble:
runs-on: ubuntu-24.04
strategy:
max-parallel: 4
steps:
- uses: actions/checkout@v4
with:
submodules: true
- name: Install required packages
run: sudo apt-get install cmake bison libbison-dev flex libfl-dev libeigen3-dev libboost-all-dev -y
- name: build and test
run: |
mkdir -p build
cd build && cmake .. && make unit_test && ./unit_test
ubuntu_jammy:
runs-on: ubuntu-22.04
strategy:
max-parallel: 4
steps:
- uses: actions/checkout@v4
with:
submodules: true
- name: Install required packages
run: sudo apt-get install cmake bison libbison-dev flex libfl-dev libeigen3-dev libboost-all-dev -y
- name: build and test
run: |
mkdir -p build
cd build && cmake .. && make unit_test && ./unit_test
ubuntu_focal:
runs-on: ubuntu-20.04
strategy:
max-parallel: 4
steps:
- uses: actions/checkout@v4
with:
submodules: true
- name: Install required packages
run: sudo apt-get install cmake bison libbison-dev flex libfl-dev libeigen3-dev libboost-all-dev -y
- name: build and test
run: |
mkdir -p build
cd build && cmake .. && make unit_test && ./unit_test
macOS_intel:
runs-on: macos-latest-large
strategy:
max-parallel: 4
steps:
- uses: actions/checkout@v4
with:
submodules: true
- name: Install required packages
run: brew install eigen boost bison flex
- name: build and test
run: |
mkdir -p build
export PATH="/usr/local/opt/bison/bin:/usr/local/opt/flex/bin:$PATH"
LDFLAGS="-L/usr/local/opt/bison/lib -L/usr/local/opt/flex/lib"
export CPPFLAGS="-I/usr/local/opt/flex/include"
cd build && cmake .. && make unit_test && ./unit_test