Skip to content

Fix 32-bit long and native=fixed_size tests #70

Fix 32-bit long and native=fixed_size tests

Fix 32-bit long and native=fixed_size tests #70

Workflow file for this run

name: CI
on:
push:
branches: [ master, main ]
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
emscripten:
strategy:
fail-fast: true
matrix:
version: [ latest ]
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v3
- name: Install emscripten ${{ matrix.version }}
run: |
cd
git clone --depth=1 https://github.com/emscripten-core/emsdk.git
cd emsdk
./emsdk install ${{ matrix.version }}
./emsdk activate ${{ matrix.version }}
- name: Run test suite
shell: bash
env:
CXX: em++
run: |
source ~/emsdk/emsdk_env.sh
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