Skip to content

chore: add rattler-build recipe and version check to release workflow #65

chore: add rattler-build recipe and version check to release workflow

chore: add rattler-build recipe and version check to release workflow #65

Workflow file for this run

name: ci
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
tests:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, macos-latest]
compiler: [gcc, clang]
steps:
- uses: actions/checkout@v4
- name: Build mat.c
run: ${{ matrix.compiler }} -O2 -Wall -Wextra -Werror -c mat.c -o mat.o
- name: Build and run tests
run: make check CC=${{ matrix.compiler }}
examples:
runs-on: ubuntu-latest
strategy:
matrix:
include:
- cc: gcc
cxx: g++
- cc: clang
cxx: clang++
steps:
- uses: actions/checkout@v4
- name: Build examples
run: make examples CC=${{ matrix.cc }} CXX=${{ matrix.cxx }}
sanitizers:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Test with ASan and UBSan
run: make check CFLAGS="-fsanitize=address,undefined -g -Wall -Wextra -I."