Skip to content

Support DEC_TRIVIAL_DEFAULT_CONSTRUCTIBLE (#63) #21

Support DEC_TRIVIAL_DEFAULT_CONSTRUCTIBLE (#63)

Support DEC_TRIVIAL_DEFAULT_CONSTRUCTIBLE (#63) #21

Workflow file for this run

name: decimal_for_cpp
on: [push]
jobs:
linux:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, ubuntu-20.04]
steps:
- uses: actions/checkout@v2
- name: Install dependencies
run: |
sudo apt update
sudo apt install -y libboost-all-dev
- name: Build c++11
run: |
cd ${{ github.workspace }}
rm -rf b
mkdir -p b
cd b
cmake -DCMAKE_CXX_STANDARD=11 ../
make VERBOSE=1 && ./test_runner
- name: Build c++14
run: |
cd ${{ github.workspace }}
rm -rf b
mkdir -p b
cd b
cmake -DCMAKE_CXX_STANDARD=14 ../
make VERBOSE=1 && ./test_runner
- name: Build c++17
run: |
cd ${{ github.workspace }}
rm -rf b
mkdir -p b
cd b
cmake -DCMAKE_CXX_STANDARD=17 ../
make VERBOSE=1 && ./test_runner
macos:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [macos-latest]
steps:
- uses: actions/checkout@v2
- name: Install dependencies
run: |
brew install boost
- name: Update dependencies
run: |
brew upgrade boost cmake
- name: Build c++11
run: |
cd ${{ github.workspace }}
rm -rf b
mkdir -p b
cd b
cmake -DCMAKE_CXX_STANDARD=11 ../
make VERBOSE=1 && ./test_runner
- name: Build c++14
run: |
cd ${{ github.workspace }}
rm -rf b
mkdir -p b
cd b
cmake -DCMAKE_CXX_STANDARD=14 ../
make VERBOSE=1 && ./test_runner
- name: Build c++17
run: |
cd ${{ github.workspace }}
rm -rf b
mkdir -p b
cd b
cmake -DCMAKE_CXX_STANDARD=17 ../
make VERBOSE=1 && ./test_runner