Skip to content

Commit d97b6dc

Browse files
.github/workflows/dnmtools_build_macos.yml: added jobs to build with clang on macos
1 parent 67d5712 commit d97b6dc

1 file changed

Lines changed: 38 additions & 2 deletions

File tree

.github/workflows/dnmtools_build_macos.yml

Lines changed: 38 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ on:
88
branches: [ "master" ]
99

1010
jobs:
11-
build-on-x86:
11+
build-with-gcc-on-x86:
1212
runs-on: macos-13
1313
steps:
1414
- uses: actions/checkout@v4
@@ -26,7 +26,7 @@ jobs:
2626
run: ./configure CXX="g++-14" CPPFLAGS="-I$(brew --prefix)/include" LDFLAGS="-L$(brew --prefix)/lib"
2727
- name: make
2828
run: make -j4
29-
build-on-arm64:
29+
build-with-gcc-on-arm64:
3030
runs-on: macos-15
3131
steps:
3232
- uses: actions/checkout@v4
@@ -44,3 +44,39 @@ jobs:
4444
run: ./configure CXX="g++-14" CPPFLAGS="-I$(brew --prefix)/include" LDFLAGS="-L$(brew --prefix)/lib"
4545
- name: make
4646
run: make -j4
47+
build-with-clang-on-x86:
48+
runs-on: macos-13
49+
steps:
50+
- uses: actions/checkout@v4
51+
with:
52+
submodules: recursive
53+
- name: Update Homebrew
54+
run: brew update
55+
- name: Install autotools
56+
run: brew install automake
57+
- name: Install dependencies
58+
run: brew install htslib gsl
59+
- name: Generate configure script
60+
run: ./autogen.sh
61+
- name: configure with clang++
62+
run: ./configure CXX="clang++" CPPFLAGS="-I$(brew --prefix)/include" LDFLAGS="-L$(brew --prefix)/lib"
63+
- name: make
64+
run: make -j4
65+
build-with-clang-on-arm64:
66+
runs-on: macos-15
67+
steps:
68+
- uses: actions/checkout@v4
69+
with:
70+
submodules: recursive
71+
- name: Update Homebrew
72+
run: brew update
73+
- name: Install autotools
74+
run: brew install automake
75+
- name: Install dependencies
76+
run: brew install htslib gsl
77+
- name: Generate configure script
78+
run: ./autogen.sh
79+
- name: configure with clang++
80+
run: ./configure CXX="clang++" CPPFLAGS="-I$(brew --prefix)/include" LDFLAGS="-L$(brew --prefix)/lib"
81+
- name: make
82+
run: make -j4

0 commit comments

Comments
 (0)