feat(add): i128 overflowing operations and update type name #15
Workflow file for this run
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: CMake CI Matrix | |
on: | |
push: | |
branches: [ main ] | |
pull_request: | |
branches: [ main ] | |
jobs: | |
build-and-test: | |
name: Build and Test on ${{ matrix.os }} with ${{ matrix.compiler }} | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
os: [ubuntu-latest, macos-latest] | |
include: | |
- os: ubuntu-latest | |
compiler: GCC | |
install: sudo apt-get update && sudo apt-get install -y build-essential | |
build-dir: build-gcc | |
- os: macos-latest | |
compiler: Clang | |
install: "" | |
build-dir: build-clang | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Install dependencies | |
run: ${{ matrix.install }} | |
- name: Configure | |
run: | | |
mkdir ${{ matrix.build-dir }} && cd ${{ matrix.build-dir }} | |
cmake .. | |
- name: Build | |
run: | | |
cd ${{ matrix.build-dir }} | |
make -j | |
- name: Example | |
run: | | |
cd ${{ matrix.build-dir }} | |
make example | |
- name: Test | |
run: | | |
cd ${{ matrix.build-dir }} | |
make run-tests |