From d80c26aec4c09a4715cb43763fa66c5baf8d9968 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adam=20Gudy=C5=9B?= Date: Mon, 14 Oct 2024 08:32:31 +0200 Subject: [PATCH] Github-hosted tests added --- .github/workflows/main.yml | 13 ++++++++----- README.md | 2 +- 2 files changed, 9 insertions(+), 6 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 7494279..2a6ebe8 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -1,4 +1,4 @@ -name: GitHub Actions CI +name: Build and tests on: push: @@ -16,7 +16,7 @@ jobs: fail-fast: false matrix: machine: [ubuntu-latest, macOS-12] - compiler: [g++] + compiler: [12] runs-on: ['${{ matrix.machine }}'] steps: @@ -27,11 +27,14 @@ jobs: - name: get tags run: | cd ./libs/igraph - git fetch --tags origin + git fetch --prune --unshallow + echo exit code $? + git tag --list + continue-on-error: true - name: make run: | - make -j32 CXX=${{matrix.compiler}} + make -j32 CXX=g++-${{matrix.compiler}} CC=gcc-${{matrix.compiler}} cp ./clusty ./clusty-${{matrix.compiler}} make clean - name: tar artifacts @@ -50,7 +53,7 @@ jobs: fail-fast: false matrix: machine: [ubuntu-latest, macOS-12] - compiler: [g++] + compiler: [12] algo: [single, complete] threshold: [95, 70] diff --git a/README.md b/README.md index 70d0158..cde203a 100644 --- a/README.md +++ b/README.md @@ -2,7 +2,7 @@ [![Bioconda downloads](https://img.shields.io/conda/dn/bioconda/clusty.svg?style=flag&label=Bioconda%20downloads)](https://anaconda.org/bioconda/clusty) [![GitHub downloads](https://img.shields.io/github/downloads/refresh-bio/clusty/total.svg?style=flag&label=GitHub%20downloads)](https://github.com/refresh-bio/clusty/releases) -[![Build and tests](../../workflows/GitHub%20Actions%20CI/badge.svg)](../../actions/workflows/main.yml) +[![Build and tests](../../workflows/Build%20and%20tests/badge.svg)](../../actions/workflows/main.yml) [![License](https://anaconda.org/bioconda/famsa/badges/license.svg)](https://www.gnu.org/licenses/gpl-3.0.html) ![x86-64](https://img.shields.io/static/v1?label=%E2%80%8B&message=x86-64&color=yellow&logo=PCGamingWiki&logoColor=white)