-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Co-authored-by: aziele <a.zielezinski@gmail.com> Co-authored-by: Sebastian Deorowicz <sebastian.deorowicz@polsl.pl>
- Loading branch information
1 parent
2ee5cc4
commit c29a4a4
Showing
11 changed files
with
6,233 additions
and
236 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,92 @@ | ||
name: Deploy | ||
|
||
on: | ||
release: | ||
types: | ||
- created | ||
- updated | ||
|
||
jobs: | ||
|
||
|
||
######################################################################################## | ||
checkout: | ||
name: Checkout | ||
strategy: | ||
matrix: | ||
machine: [x64_linux, x64_mac, arm64_linux, arm64_mac] | ||
runs-on: [self-hosted, vclust, '${{ matrix.machine }}'] | ||
|
||
steps: | ||
- uses: actions/checkout@v4 | ||
with: | ||
submodules: recursive | ||
- name: Get tags | ||
run: | | ||
cd ./3rd_party/clusty/libs/igraph | ||
git fetch --prune --unshallow | ||
echo exit code $? | ||
git tag --list | ||
continue-on-error: true | ||
|
||
######################################################################################## | ||
make: | ||
name: Make | ||
needs: checkout | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
machine: [x64_linux, arm64_linux] | ||
leiden: [true] | ||
include: | ||
- machine: x64_mac | ||
leiden: false | ||
- machine: arm64_mac | ||
leiden: false | ||
|
||
runs-on: [self-hosted, vclust, '${{ matrix.machine }}'] | ||
|
||
steps: | ||
- name: make clean | ||
run: make clean | ||
continue-on-error: true | ||
- name: make | ||
run: make -j32 CXX=g++-12 STATIC_LINK=true LEIDEN=${{ matrix.leiden }} | ||
- name: tar artifacts | ||
run: tar -cvzf vclust.tar.gz vclust.py test.py LICENSE example bin | ||
|
||
|
||
######################################################################################## | ||
help: | ||
name: Print usage | ||
needs: make | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
machine: [x64_linux, x64_mac, arm64_linux, arm64_mac] | ||
runs-on: [self-hosted, vclust, '${{ matrix.machine }}'] | ||
|
||
steps: | ||
- name: help | ||
run: python3 vclust.py | ||
|
||
######################################################################################## | ||
upload: | ||
name: Upload | ||
needs: help | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
machine: [x64_linux, x64_mac, arm64_linux, arm64_mac] | ||
runs-on: [self-hosted, vclust, '${{ matrix.machine }}'] | ||
|
||
steps: | ||
- name: deploy | ||
uses: actions/upload-release-asset@v1.0.1 | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
with: | ||
upload_url: ${{ github.event.release.upload_url }} | ||
asset_path: ./vclust.tar.gz | ||
asset_name: vclust-${{ github.event.release.tag_name }}-${{matrix.machine}}.tar.gz | ||
asset_content_type: application/gzip |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Submodule clusty
updated
10 files
+88 −0 | .github/workflows/deploy.yml | |
+2 −0 | src/console.cpp | |
+20 −4 | src/console.h | |
+78 −117 | src/distances.cpp | |
+20 −31 | src/distances.h | |
+12 −0 | src/leiden.h | |
+30 −20 | src/linkage_heaptrix.h | |
+3 −2 | src/log.h | |
+5 −1 | src/main.cpp | |
+6 −2 | src/version.h |
Submodule kmer-db
updated
2 files
+77 −0 | .github/workflows/deploy.yml | |
+4 −4 | .github/workflows/main.yml |
Submodule lz-ani
updated
93 files
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.