|
| 1 | +name: Large data CI |
| 2 | + |
| 3 | +on: |
| 4 | + workflow_dispatch: |
| 5 | + |
| 6 | +jobs: |
| 7 | + |
| 8 | + ######################################################################################## |
| 9 | + checkout: |
| 10 | + name: Checkout |
| 11 | + runs-on: [self-hosted, clusty, x64_linux, large] |
| 12 | + |
| 13 | + steps: |
| 14 | + - name: clean |
| 15 | + run: rm -rf ${{ github.workspace }}/* |
| 16 | + - uses: actions/checkout@v4 |
| 17 | + with: |
| 18 | + submodules: recursive |
| 19 | + - name: Get tags |
| 20 | + run: | |
| 21 | + cd ./libs/igraph |
| 22 | + git fetch --prune --unshallow |
| 23 | + echo exit code $? |
| 24 | + git tag --list |
| 25 | + continue-on-error: true |
| 26 | + |
| 27 | + ######################################################################################## |
| 28 | + make: |
| 29 | + name: Make |
| 30 | + needs: checkout |
| 31 | + strategy: |
| 32 | + matrix: |
| 33 | + compiler: [14] |
| 34 | + runs-on: [self-hosted, clusty, x64_linux, large] |
| 35 | + |
| 36 | + steps: |
| 37 | + - name: make |
| 38 | + run: gmake -j32 CXX=g++-${{matrix.compiler}} CC=gcc-${{matrix.compiler}} PLATFORM=avx2 LEIDEN=true STATIC_LINK=true |
| 39 | + - name: print info |
| 40 | + run: ./bin/clusty --help |
| 41 | + |
| 42 | + ######################################################################################## |
| 43 | + clustering: |
| 44 | + name: clustering |
| 45 | + needs: make |
| 46 | + strategy: |
| 47 | + fail-fast: false |
| 48 | + matrix: |
| 49 | + dataset: [ICTV, IMGVR, IMGVR_HQ] |
| 50 | + algo_name: [single, complete, set-cover, uclust, cd-hit, leiden_07, leiden_10] |
| 51 | + include: |
| 52 | + - {dataset: ICTV, variant_name: full, args: '--numeric-ids --similarity --distance-col tani --min tani 0.95'} |
| 53 | + - {dataset: IMGVR, variant_name: fraction_02, args: '--numeric-ids --similarity --distance-col ani --min ani 0.95 --min qcov 0.85'} |
| 54 | + - {dataset: IMGVR_HQ, variant_name: full, args: '--numeric-ids --similarity --distance-col ani --min ani 0.95 --min qcov 0.85'} |
| 55 | + - {algo_name: single, algo_cmd: single} |
| 56 | + - {algo_name: complete, algo_cmd: complete} |
| 57 | + - {algo_name: set-cover, algo_cmd: set-cover} |
| 58 | + - {algo_name: uclust, algo_cmd: uclust} |
| 59 | + - {algo_name: cd-hit, algo_cmd: cd-hit} |
| 60 | + - {algo_name: leiden_07, algo_cmd: 'leiden --leiden-resolution 0.7'} |
| 61 | + - {algo_name: leiden_10, algo_cmd: 'leiden --leiden-resolution 1.0'} |
| 62 | + |
| 63 | + env: |
| 64 | + INPUT_DIR: ../../../../clusty/input |
| 65 | + TEMP_DIR: ../../../../clusty/temp |
| 66 | + REF_DIR: ../../../../clusty/ref |
| 67 | + |
| 68 | + runs-on: [self-hosted, clusty, x64_linux, large] |
| 69 | + |
| 70 | + steps: |
| 71 | + - name: cluster |
| 72 | + run: /usr/bin/time -v ./bin/clusty ${INPUT_DIR}/${{ matrix.dataset }}.${{ matrix.variant_name }}.ani.tsv --objects-file ${INPUT_DIR}/${{ matrix.dataset }}.${{ matrix.variant_name }}.ani.ids.tsv ${TEMP_DIR}/${{ matrix.dataset }}.${{ matrix.variant_name }}.${{ matrix.algo_name }}.clusty --algo ${{ matrix.algo_cmd }} ${{ matrix.args }} |
| 73 | + - name: compare |
| 74 | + run: cmp ${TEMP_DIR}/${{ matrix.dataset }}.${{ matrix.variant_name }}.${{ matrix.algo_name }}.clusty ${REF_DIR}/${{ matrix.dataset }}.${{ matrix.variant_name }}.${{ matrix.algo_name }}.clusty |
| 75 | + - name: python compare |
| 76 | + run: python3 ./test/cmp.py ${TEMP_DIR}/${{ matrix.dataset }}.${{ matrix.variant_name }}.${{ matrix.algo_name }}.clusty ${REF_DIR}/${{ matrix.dataset }}.${{ matrix.variant_name }}.${{ matrix.algo_name }}.clusty |
0 commit comments