Skip to content

Commit 93a364b

Browse files
committed
Leiden algorithm included in precompiled macOS binaries
1 parent b79a6f1 commit 93a364b

File tree

7 files changed

+70
-603
lines changed

7 files changed

+70
-603
lines changed

.github/workflows/deploy.yml

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -41,19 +41,18 @@ jobs:
4141
machine: [x64_linux]
4242
platform: [avx2]
4343
compiler: [14]
44-
leiden: [true]
4544
include:
46-
- {machine: arm64_linux, platform: arm8, compiler: 12, leiden: true}
47-
- {machine: x64_mac, platform: avx2, compiler: 12, leiden: false}
48-
- {machine: arm64_mac, platform: m1, compiler: 13, leiden: false}
45+
- {machine: arm64_linux, platform: arm8, compiler: 12}
46+
- {machine: x64_mac, platform: avx2, compiler: 12}
47+
- {machine: arm64_mac, platform: m1, compiler: 12}
4948

5049
runs-on: [self-hosted, vclust, '${{ matrix.machine }}']
5150
env:
5251
DIR: vclust-${{ github.event.release.tag_name }}-${{matrix.machine}}
5352

5453
steps:
5554
- name: make
56-
run: make -j32 CXX=g++-${{matrix.compiler}} CC=gcc-${{matrix.compiler}} STATIC_LINK=true PLATFORM=${{ matrix.platform }} LEIDEN=${{ matrix.leiden }}
55+
run: make -j32 CXX=g++-${{matrix.compiler}} CC=gcc-${{matrix.compiler}} PLATFORM=${{ matrix.platform }} LEIDEN=true
5756
- name: tar artifacts
5857
run: |
5958
mkdir ${DIR}

.github/workflows/main.yml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: GitHub Actions CI
1+
name: Build and tests
22

33
on:
44
push:
@@ -16,7 +16,7 @@ jobs:
1616
fail-fast: false
1717
matrix:
1818
machine: [ubuntu-latest, macOS-12]
19-
compiler: [g++-12]
19+
compiler: [12]
2020
runs-on: ['${{ matrix.machine }}']
2121

2222
steps:
@@ -26,7 +26,7 @@ jobs:
2626

2727
- name: make
2828
run: |
29-
make -j32 CXX=${{matrix.compiler}}
29+
make -j32 CXX=g++-${{matrix.compiler}} CC=gcc-${{matrix.compiler}}
3030
- name: tar artifacts
3131
run: tar -cvf vclust.tar ./vclust.py ./test.py ./example ./bin/kmer-db ./bin/lz-ani ./bin/clusty ./bin/multi-fasta-split
3232

@@ -43,7 +43,6 @@ jobs:
4343
fail-fast: false
4444
matrix:
4545
machine: [ubuntu-latest, macOS-12]
46-
compiler: [g++-11]
4746

4847
runs-on: ['${{ matrix.machine }}']
4948

.github/workflows/self-hosted.yml

Lines changed: 23 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -41,21 +41,20 @@ jobs:
4141
machine: [x64_linux]
4242
platform: [avx2]
4343
compiler: [14]
44-
leiden: [true]
4544
include:
46-
- {machine: arm64_linux, platform: arm8, compiler: 12, leiden: true}
47-
- {machine: x64_mac, platform: avx2, compiler: 12, leiden: false}
48-
- {machine: arm64_mac, platform: m1, compiler: 13, leiden: false}
45+
- {machine: arm64_linux, platform: arm8, compiler: 12}
46+
- {machine: x64_mac, platform: avx2, compiler: 12}
47+
- {machine: arm64_mac, platform: m1, compiler: 12}
4948

5049
runs-on: [self-hosted, vclust, '${{ matrix.machine }}']
5150

5251
steps:
5352
- name: make
54-
run: make -j32 CXX=g++-${{matrix.compiler}} CC=gcc-${{matrix.compiler}} STATIC_LINK=true PLATFORM=${{ matrix.platform }} LEIDEN=${{ matrix.leiden }}
53+
run: make -j32 CXX=g++-${{matrix.compiler}} CC=gcc-${{matrix.compiler}} PLATFORM=${{ matrix.platform }} LEIDEN=true
5554

5655
########################################################################################
57-
pipeline:
58-
name: Pipeline
56+
pipeline-linux:
57+
name: Pipeline (linux)
5958
needs: make
6059
strategy:
6160
fail-fast: false
@@ -64,7 +63,23 @@ jobs:
6463
runs-on: [self-hosted, vclust, '${{ matrix.machine }}']
6564

6665
steps:
67-
6866
- name: run pipeline
6967
run: |
7068
pytest test.py
69+
70+
########################################################################################
71+
pipeline-macos:
72+
name: Pipeline (macOS)
73+
needs: make
74+
strategy:
75+
fail-fast: false
76+
matrix:
77+
machine: [x64_mac, arm64_mac]
78+
runs-on: [self-hosted, vclust, '${{ matrix.machine }}']
79+
80+
steps:
81+
82+
- name: run pipeline
83+
run: |
84+
source /Users/agudys/agudys-env/bin/activate
85+
pytest test.py

0 commit comments

Comments
 (0)