-
Notifications
You must be signed in to change notification settings - Fork 7
33 lines (28 loc) · 886 Bytes
/
Copy pathbuild.yml
File metadata and controls
33 lines (28 loc) · 886 Bytes
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
name: Build
on:
push:
branches: [master]
pull_request:
branches: [master]
jobs:
build:
runs-on: '${{ matrix.os }}'
strategy:
fail-fast: false
matrix:
os: [ubuntu-24.04,macos-15-intel,macos-26-intel,macos-26]
steps:
- uses: actions/checkout@v6
- name: Install LLVM 19
if: startsWith(matrix.os, 'ubuntu')
run: sudo apt-get update && sudo apt-get install -y clang-19 lld-19
- name: Build
if: startsWith(matrix.os, 'ubuntu')
run: make -j4 CC=clang-19 CXX=clang++-19 LFLAGS=-fuse-ld=lld-19
- name: Build
if: matrix.os == 'macos-15-intel'
run: make -j4 CC=gcc-15 CXX=g++-15
- name: Build
if: startsWith(matrix.os, 'macos-26')
run: make -j4 CC=$(brew --prefix llvm@20)/bin/clang CXX=$(brew --prefix llvm@20)/bin/clang++
- run: ./tivars_tests