-
Notifications
You must be signed in to change notification settings - Fork 11
65 lines (63 loc) · 1.87 KB
/
dnmtools_build_macos.yml
File metadata and controls
65 lines (63 loc) · 1.87 KB
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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
name: DNMTools build (macOS)
on:
workflow_dispatch:
push:
branches: [ "master" ]
pull_request:
branches: [ "master" ]
jobs:
## ADS: removing this because of 'brownout' on github runners
# build-with-gcc-on-x86:
# runs-on: macos-13
# steps:
# - uses: actions/checkout@v4
# with:
# submodules: recursive
# - name: Update Homebrew
# run: brew update
# - name: Install autotools
# run: brew install automake
# - name: Install dependencies
# run: brew install htslib gsl
# - name: Generate configure script
# run: ./autogen.sh
# - name: configure with g++-14
# run: ./configure CXX="g++-14" CPPFLAGS="-I$(brew --prefix)/include" LDFLAGS="-L$(brew --prefix)/lib"
# - name: make
# run: make -j4
build-with-gcc-on-arm64:
runs-on: macos-15
steps:
- uses: actions/checkout@v4
with:
submodules: recursive
- name: Update Homebrew
run: brew update
- name: Install autotools
run: brew install automake
- name: Install dependencies
run: brew install htslib gsl
- name: Generate configure script
run: ./autogen.sh
- name: configure with g++-14
run: ./configure CXX="g++-14" CPPFLAGS="-I$(brew --prefix)/include" LDFLAGS="-L$(brew --prefix)/lib"
- name: make
run: make -j4
build-with-clang-on-arm64:
runs-on: macos-15
steps:
- uses: actions/checkout@v4
with:
submodules: recursive
- name: Update Homebrew
run: brew update
- name: Install autotools
run: brew install automake
- name: Install dependencies
run: brew install htslib gsl
- name: Generate configure script
run: ./autogen.sh
- name: configure with clang++
run: ./configure CXX="clang++" CPPFLAGS="-I$(brew --prefix)/include" LDFLAGS="-L$(brew --prefix)/lib"
- name: make
run: make -j4