Some small SIMD fixes #114
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: Graphite CI | |
on: [push] | |
jobs: | |
linux: | |
name: Build on Linux | |
strategy: | |
matrix: | |
env: | |
- { os: ubuntu-latest, compiler: LLVM, CC: clang, CXX: clang++ } | |
runs-on: ${{ matrix.env.os }} | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v2 | |
- name: Build | |
env: | |
CC: ${{ matrix.env.CC }} | |
CXX: ${{ matrix.env.CXX }} | |
run: ./.github/actions/build.sh | |
- name: Test | |
run: cd build && make test | |
macOS: | |
name: Build on macOS | |
strategy: | |
matrix: | |
os: [ macos-12 ] | |
runs-on: ${{ matrix.os }} | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v2 | |
- name: Build | |
run: | | |
./.github/actions/build.sh | |
- name: Test | |
run: cd build && make test | |
windows: | |
name: Build on Windows | |
strategy: | |
matrix: | |
env: | |
- { os: windows-latest, shell: msys2, msystem: MINGW64, arch: x86_64, compiler: LLVM, CC: clang, CXX: clang++ } | |
runs-on: ${{ matrix.env.os }} | |
defaults: | |
run: | |
shell: ${{ matrix.env.shell }} {0} | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v2 | |
- name: Setup MinGW/MSYS2 | |
uses: msys2/setup-msys2@v2 | |
with: | |
msystem: ${{ matrix.env.msystem }} | |
install: git mingw-w64-${{ matrix.env.arch }}-toolchain | |
- name: Install dependencies | |
run: | | |
pacman -S --noconfirm mingw-w64-${{ matrix.env.arch }}-clang | |
pacman -S --noconfirm mingw-w64-${{ matrix.env.arch }}-cmake | |
pacman -S --noconfirm mingw-w64-${{ matrix.env.arch }}-ninja | |
- name: Build | |
env: | |
CC: ${{ matrix.env.CC }} | |
CXX: ${{ matrix.env.CXX }} | |
run: | | |
./.github/actions/build.sh | |
- name: Test | |
run: cmake --build build --target test |