diff --git a/.github/workflows/cmake.yml b/.github/workflows/cmake.yml index c1a49b5..8161192 100644 --- a/.github/workflows/cmake.yml +++ b/.github/workflows/cmake.yml @@ -26,6 +26,26 @@ jobs: run: cmake --build build --parallel - name: Test run: ctest --test-dir build --parallel --output-on-failure + cmake-linux-x86: + runs-on: ubuntu-20.04 + timeout-minutes: 15 + steps: + - uses: actions/checkout@v4 + - name: Update apt + run: sudo apt update + - name: Install multilib gcc + run: sudo apt install gcc-multilib g++-multilib + - name: Install ninja + run: sudo apt install ninja-build + - name: Configure + run: cmake -Bbuild -S. -G Ninja -DCMAKE_BUILD_TYPE=Release -DFP16_BUILD_COMPARATIVE_BENCHMARKS=ON + env: + CXXFLAGS: "-m32 -mfpmath=387" + LDFLAGS: "-m32" + - name: Build + run: cmake --build build --parallel + - name: Test + run: ctest --test-dir build --parallel --output-on-failure cmake-macos-x86_64: runs-on: macos-12 timeout-minutes: 15