Skip to content

Commit d1c44e9

Browse files
authored
Updates in tests and automatic building scripts
1 parent f9725b7 commit d1c44e9

File tree

3 files changed

+50
-17
lines changed

3 files changed

+50
-17
lines changed

.github/workflows/deploy.yml

Lines changed: 15 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,15 +28,27 @@ jobs:
2828
strategy:
2929
fail-fast: false
3030
matrix:
31-
machine: [x64_linux, arm64_linux, x64_mac, arm64_mac]
31+
machine: [x64_linux]
32+
platform: [avx2]
33+
compiler: [g++-13]
34+
include:
35+
- machine: arm64_linux
36+
platform: arm8
37+
compiler: g++-12
38+
- machine: x64_mac
39+
platform: avx2
40+
compiler: g++-13
41+
- machine: arm64_mac
42+
platform: m1
43+
compiler: g++-13
3244

3345
runs-on: [self-hosted, lz-ani, '${{ matrix.machine }}']
3446

3547
steps:
3648
- name: make
3749
run: |
3850
make clean
39-
make -j32 CXX=g++-12
51+
make -j32 CXX=${{matrix.compiler}} STATIC_LINK=true PLATFORM=${{ matrix.platform }}
4052
- name: tar artifacts
4153
run: tar -cvzf lz-ani.tar.gz lz-ani LICENSE
4254

@@ -74,4 +86,4 @@ jobs:
7486
upload_url: ${{ github.event.release.upload_url }}
7587
asset_path: ./lz-ani.tar.gz
7688
asset_name: lz-ani-${{ github.event.release.tag_name }}-${{matrix.machine}}.tar.gz
77-
asset_content_type: application/gzip
89+
asset_content_type: application/gzip

.github/workflows/self-hosted.yml

Lines changed: 31 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
name: Checkout
1515
strategy:
1616
matrix:
17-
machine: [tripper, arm64_linux, mac-i7, mac-m1]
17+
machine: [x64_linux, x64_mac, arm64_linux, arm64_mac]
1818
runs-on: [self-hosted, lz-ani, '${{ matrix.machine }}']
1919

2020
steps:
@@ -30,14 +30,27 @@ jobs:
3030
strategy:
3131
fail-fast: false
3232
matrix:
33-
machine: [tripper, arm64_linux, mac-i7, mac-m1]
34-
compiler: [12]
33+
machine: [x64_linux, x64_mac, arm64_linux, arm64_mac]
34+
compiler: [g++-11, g++-12, g++-13]
35+
include:
36+
- machine: x64_linux
37+
platform: avx2
38+
- machine: arm64_linux
39+
platform: arm8
40+
- machine: x64_mac
41+
platform: avx2
42+
- machine: arm64_mac
43+
platform: m1
44+
exclude:
45+
- machine: arm64_linux
46+
compiler: g++-13
47+
3548
runs-on: [self-hosted, lz-ani, '${{ matrix.machine }}']
3649

3750
steps:
38-
- name: make (g++-${{matrix.compiler}})
51+
- name: make
3952
run: |
40-
make -j32 CXX=g++-${{matrix.compiler}}
53+
make -j32 CXX=${{matrix.compiler}} PLATFORM=${{ matrix.platform }}
4154
cp ./lz-ani ./lz-ani-${{matrix.compiler}}
4255
make clean
4356
@@ -48,15 +61,19 @@ jobs:
4861
strategy:
4962
fail-fast: false
5063
matrix:
51-
machine: [tripper, arm64_linux, mac-i7, mac-m1]
52-
compiler: [12]
64+
machine: [x64_linux, x64_mac, arm64_linux, arm64_mac]
65+
compiler: [g++-11, g++-12, g++-13]
66+
exclude:
67+
- machine: arm64_linux
68+
compiler: g++-13
69+
5370
runs-on: [self-hosted, lz-ani, '${{ matrix.machine }}']
5471

5572
env:
5673
EXEC: ./lz-ani-${{matrix.compiler}}
5774

5875
steps:
59-
- name: help (g++-${{matrix.compiler}})
76+
- name: help
6077
run: |
6178
${EXEC}
6279
@@ -68,8 +85,12 @@ jobs:
6885
strategy:
6986
fail-fast: false
7087
matrix:
71-
machine: [tripper, arm64_linux, mac-i7, mac-m1]
72-
compiler: [12]
88+
machine: [x64_linux, x64_mac, arm64_linux, arm64_mac]
89+
compiler: [g++-11, g++-12, g++-13]
90+
exclude:
91+
- machine: arm64_linux
92+
compiler: g++-13
93+
7394
runs-on: [self-hosted, lz-ani, '${{ matrix.machine }}']
7495

7596
env:

src/defs.h

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@
44
//
55
// Copyright(C) 2024-2024, S.Deorowicz, A.Gudys
66
//
7-
// Version: 1.1.0
8-
// Date : 2024-09-05
7+
// Version: 1.1.1
8+
// Date : 2024-09-12
99
// *******************************************************************************************
1010

1111
#pragma once
@@ -15,8 +15,8 @@
1515
#include <string>
1616
#include "params.h"
1717

18-
const std::string LZ_ANI_VER = "lz-ani 1.1.0";
19-
const std::string LZ_ANI_DATE = "2024-09-05";
18+
const std::string LZ_ANI_VER = "lz-ani 1.1.1";
19+
const std::string LZ_ANI_DATE = "2024-09-12";
2020
const std::string LZ_ANI_AUTHORS = "Sebastian Deorowicz, Adam Gudys";
2121
const std::string LZ_ANI_INFO = LZ_ANI_VER + " (" + LZ_ANI_DATE + ") by " + LZ_ANI_AUTHORS;
2222

0 commit comments

Comments
 (0)