Skip to content

SIMD execution policy for standard algorithms #50

SIMD execution policy for standard algorithms

SIMD execution policy for standard algorithms #50

Workflow file for this run

name: CI
on:
push:
branches: [ "master" ]
pull_request:
jobs:
gcc:
strategy:
fail-fast: false
matrix:
version: [9, 11, 13]
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v3
- name: Install GCC ${{ matrix.version }}
run: |
sudo add-apt-repository ppa:ubuntu-toolchain-r/test
sudo apt-get update
sudo apt-get install -y gcc-${{ matrix.version }} g++-${{ matrix.version }}
- name: Run test suite
env:
CXX: g++-${{ matrix.version }}
run: make check DRIVEROPTS=-vvf
clang:
strategy:
fail-fast: false
matrix:
version: [15]
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v3
- name: Install Clang ${{ matrix.version }}
run: |
wget -O - https://apt.llvm.org/llvm-snapshot.gpg.key|sudo apt-key add -
sudo add-apt-repository 'deb http://apt.llvm.org/jammy/ llvm-toolchain-jammy-${{ matrix.version }} main'
sudo apt update
sudo apt install -y clang-${{ matrix.version }} libc++-${{ matrix.version }}-dev libc++abi-${{ matrix.version }}-dev
- name: Run test suite
env:
CXX: clang++-${{ matrix.version }}
CXXFLAGS: -stdlib=libc++
run: make check DRIVEROPTS=-vvf
msvc:
if: false
strategy:
fail-fast: false
matrix:
os: [windows-2022]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v3
- name: Configure test
run: cmake -S . -B build -DCMAKE_BUILD_TYPE:STRING=Release
- name: Compile test
run: cmake --build build --config Release