Skip to content

Commit 53ea443

Browse files
Merge pull request #97 from smithlabcode/adding-workflows
Updating workflows
2 parents 061bee6 + 59ad0fb commit 53ea443

File tree

3 files changed

+58
-8
lines changed

3 files changed

+58
-8
lines changed

.github/workflows/macos-builds.yml

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
name: DNMTools builds on macOS
2+
3+
on:
4+
workflow_dispatch:
5+
6+
jobs:
7+
build:
8+
9+
runs-on: macos-13
10+
11+
steps:
12+
- uses: actions/checkout@v3
13+
with:
14+
submodules: recursive
15+
- name: Update Homebrew
16+
run: brew update
17+
- name: Install autotools
18+
run: brew install autoconf automake libtool
19+
- name: Install dependencies
20+
run: brew install htslib gsl
21+
- name: Generate configure script
22+
run: ./autogen.sh
23+
- name: configure with g++-12
24+
run: ./configure CXX="g++-12" CPPFLAGS="-I$(brew --prefix)/include" LDFLAGS="-L$(brew --prefix)/lib"
25+
- name: make
26+
run: make
Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
name: DNMTools builds on Ubuntu
2+
3+
on:
4+
workflow_dispatch:
5+
6+
jobs:
7+
build:
8+
9+
runs-on: ubuntu-latest
10+
11+
steps:
12+
- uses: actions/checkout@v3
13+
with:
14+
submodules: recursive
15+
- name: Install dependencies
16+
run: sudo apt-get install -y libhts-dev libgsl-dev samtools
17+
- name: Generate configure script
18+
run: ./autogen.sh
19+
- name: configure
20+
run: ./configure
21+
- name: make with g++
22+
run: make CXX="g++"
23+
- name: cleanup after g++
24+
run: make clean
25+
- name: install clang dependencies
26+
run: sudo apt-get install -y libomp-dev
27+
- name: make with clang++
28+
run: make CXX="clang++" CXXFLAGS="-fopenmp=libomp"
29+
- name: cleanup after clang++
30+
run: make clean
Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: C/C++ CI
1+
name: DNMTools distribution check on Ubuntu
22

33
on:
44
workflow_dispatch:
@@ -18,17 +18,11 @@ jobs:
1818
submodules: recursive
1919
- name: Update packages
2020
run: sudo apt-get update
21-
- name: Install autotools
22-
run: sudo apt-get install -y autoconf automake libtool
2321
- name: Install dependencies
2422
run: sudo apt-get install -y libhts-dev libgsl-dev samtools
2523
- name: Generate configure script
26-
run: autoreconf -i src/abismal/src/smithlab_cpp src/abismal src/smithlab_cpp .
24+
run: ./autogen.sh
2725
- name: configure
2826
run: ./configure
29-
- name: make
30-
run: make
31-
- name: make check
32-
run: make check
3327
- name: make distcheck
3428
run: make distcheck

0 commit comments

Comments
 (0)