Skip to content

Support ReadWriteLock in more parallel map APIs. #233

Support ReadWriteLock in more parallel map APIs.

Support ReadWriteLock in more parallel map APIs. #233

Workflow file for this run

name: Linux
on:
push:
pull_request:
branches: [ main ]
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-22.04]
compiler: [g++-9, g++-10, clang++-17]
build_type: [Debug, Release]
standard: [20]
steps:
- name: Checkout
uses: actions/checkout@v2.0.0
- name: Create Environment
run: |
sudo apt update
sudo apt install -y g++-9 g++-10
wget https://apt.llvm.org/llvm.sh; chmod u+x llvm.sh; sudo ./llvm.sh 17
cmake -E make_directory ${{runner.workspace}}/build
- name: Configure
working-directory: ${{runner.workspace}}/build
env:
CXX: ${{ matrix.compiler }}
run: |
cmake -DCMAKE_VERBOSE_MAKEFILE:BOOL=ON -DCMAKE_CXX_STANDARD=${{matrix.standard}} -DCMAKE_BUILD_TYPE=${{matrix.build_type}} $GITHUB_WORKSPACE
- name: Build
working-directory: ${{runner.workspace}}/build
run: |
cpus=`nproc`
cmake --build . --config ${{matrix.build_type}} --parallel $cpus
- name: Test
working-directory: ${{runner.workspace}}/build
env:
CTEST_OUTPUT_ON_FAILURE: True
run: |
ctest -C ${{matrix.build_type}}