Skip to content

Commit d80c26a

Browse files
authored
Github-hosted tests added
1 parent 4e2d935 commit d80c26a

File tree

2 files changed

+9
-6
lines changed

2 files changed

+9
-6
lines changed

.github/workflows/main.yml

+8-5
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++]
19+
compiler: [12]
2020
runs-on: ['${{ matrix.machine }}']
2121

2222
steps:
@@ -27,11 +27,14 @@ jobs:
2727
- name: get tags
2828
run: |
2929
cd ./libs/igraph
30-
git fetch --tags origin
30+
git fetch --prune --unshallow
31+
echo exit code $?
32+
git tag --list
33+
continue-on-error: true
3134

3235
- name: make
3336
run: |
34-
make -j32 CXX=${{matrix.compiler}}
37+
make -j32 CXX=g++-${{matrix.compiler}} CC=gcc-${{matrix.compiler}}
3538
cp ./clusty ./clusty-${{matrix.compiler}}
3639
make clean
3740
- name: tar artifacts
@@ -50,7 +53,7 @@ jobs:
5053
fail-fast: false
5154
matrix:
5255
machine: [ubuntu-latest, macOS-12]
53-
compiler: [g++]
56+
compiler: [12]
5457
algo: [single, complete]
5558
threshold: [95, 70]
5659

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
[![Bioconda downloads](https://img.shields.io/conda/dn/bioconda/clusty.svg?style=flag&label=Bioconda%20downloads)](https://anaconda.org/bioconda/clusty)
44
[![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)
5-
[![Build and tests](../../workflows/GitHub%20Actions%20CI/badge.svg)](../../actions/workflows/main.yml)
5+
[![Build and tests](../../workflows/Build%20and%20tests/badge.svg)](../../actions/workflows/main.yml)
66
[![License](https://anaconda.org/bioconda/famsa/badges/license.svg)](https://www.gnu.org/licenses/gpl-3.0.html)
77

88
![x86-64](https://img.shields.io/static/v1?label=%E2%80%8B&message=x86-64&color=yellow&logo=PCGamingWiki&logoColor=white)

0 commit comments

Comments
 (0)