Updated Dockerfile #12
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
name: Integrated.Test | |
on: | |
push: | |
jobs: | |
ubuntu_bionic: | |
runs-on: ubuntu-18.04 | |
strategy: | |
max-parallel: 4 | |
steps: | |
- uses: actions/checkout@v2 | |
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 monaa && ../examples/integrated_test.sh | |
ubuntu_focal: | |
runs-on: ubuntu-20.04 | |
strategy: | |
max-parallel: 4 | |
steps: | |
- uses: actions/checkout@v2 | |
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 monaa && ../examples/integrated_test.sh | |
macOS_Catalina: | |
runs-on: macos-10.15 | |
strategy: | |
max-parallel: 4 | |
steps: | |
- uses: actions/checkout@v2 | |
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 monaa && ../examples/integrated_test.sh |