Skip to content

Update scripts to build/test VecCore with CTest #90

Update scripts to build/test VecCore with CTest

Update scripts to build/test VecCore with CTest #90

Workflow file for this run

name: GitHub Actions
on: [push, pull_request]
env:
BUILD_SITE: "GitHub Actions"
jobs:
linux:
name: Linux
runs-on: ubuntu-latest
strategy:
fail-fast: true
matrix:
compiler: [ gcc, clang ]
target: [ sse4.2, avx2 ]
env:
CC: ${{ matrix.compiler }}
steps:
- uses: actions/checkout@master
with:
fetch-depth: 1
- name: Install dependencies
run: |
set -e
sudo apt-get update -y
sudo apt-get install -y cmake pkg-config libgd-dev ${{matrix.compiler}}
- name: CTest Build
run: env CC=${CC} CXX=${CC/g*/g++} ctest -VV -S cmake/TestVecCore.cmake,${{matrix.target}}
macos:
name: MacOS
runs-on: macos-latest
strategy:
fail-fast: true
matrix:
target: [ sse2, sse4.2 ]
steps:
- uses: actions/checkout@master
with:
fetch-depth: 1
- name: CTest Build
run: ctest -VV -S cmake/TestVecCore.cmake,${{matrix.target}}
windows:
name: Windows
runs-on: windows-latest
strategy:
fail-fast: true
matrix:
target: [ sse2, avx2 ]
steps:
- uses: actions/checkout@master
with:
fetch-depth: 1
- name: CTest Build
run: ctest -VV -S cmake/TestVecCore.cmake,${{matrix.target}}