-
Notifications
You must be signed in to change notification settings - Fork 100
44 lines (42 loc) · 1.36 KB
/
ci.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
name: ci
on:
push:
branches:
- '**'
- '!mdadams-joss'
tags-ignore:
- '**'
pull_request:
jobs:
build:
strategy:
matrix:
os: [ubuntu-22.04, ubuntu-20.04, macos-13, macos-12]
compiler: [ {cc: gcc, cxx: g++}, {cc: clang, cxx: clang++} ]
include:
- os: [windows-2022]
exclude:
# Temporarily disable Ubuntu 20.04 with GCC since linking with
# TSan fails due the linker being unable to find libtsan_preinit.o.
# This used to work previously.
# Perhaps, the cause is related to the following Ubuntu issue:
# https://bugs.launchpad.net/ubuntu/+source/gcc-9/+bug/2029910
- os: ubuntu-20.04
compiler: {cc: gcc, cxx: g++}
fail-fast: false
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4.1.1
############################################################
- name: prebuild
shell: bash
run: build/github/prebuild-v2 -c '${{runner.temp}}'/commands
############################################################
- name: testing
env:
CC: ${{ matrix.compiler.cc }}
CXX: ${{ matrix.compiler.cxx }}
shell: bash
#run: build/build_all -v -d 2
run: build/build_all -C '${{runner.temp}}'/commands
############################################################