mirror of
https://github.com/tezc/sc.git
synced 2025-01-14 06:43:04 +08:00
42383fd590
* thread & url * fix cirrus * fix thread * fix thread * split actions * test * fix test * fix windows thread * cond & fail-fast
32 lines
596 B
YAML
32 lines
596 B
YAML
on:
|
|
push:
|
|
branches:
|
|
- master
|
|
pull_request:
|
|
branches:
|
|
- master
|
|
jobs:
|
|
macos:
|
|
runs-on: macos-latest
|
|
name: Build on Mac OS
|
|
|
|
strategy:
|
|
fail-fast: false
|
|
matrix:
|
|
compiler: [ gcc, clang ]
|
|
|
|
steps:
|
|
- uses: actions/checkout@v2.1.0
|
|
- name: build
|
|
env:
|
|
CC: ${{ matrix.compiler }}
|
|
run: |
|
|
mkdir build-debug && cd build-debug
|
|
cmake .. -DSANITIZER=address
|
|
make -j
|
|
make check
|
|
rm -rf *
|
|
cmake .. -DSANITIZER=undefined
|
|
make -j
|
|
make check
|