Skip to content

Commit

Permalink
Updates in tests and automatic building scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
agudys committed Sep 12, 2024
1 parent f9725b7 commit d1c44e9
Show file tree
Hide file tree
Showing 3 changed files with 50 additions and 17 deletions.
18 changes: 15 additions & 3 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,15 +28,27 @@ jobs:
strategy:
fail-fast: false
matrix:
machine: [x64_linux, arm64_linux, x64_mac, arm64_mac]
machine: [x64_linux]
platform: [avx2]
compiler: [g++-13]
include:
- machine: arm64_linux
platform: arm8
compiler: g++-12
- machine: x64_mac
platform: avx2
compiler: g++-13
- machine: arm64_mac
platform: m1
compiler: g++-13

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

steps:
- name: make
run: |
make clean
make -j32 CXX=g++-12
make -j32 CXX=${{matrix.compiler}} STATIC_LINK=true PLATFORM=${{ matrix.platform }}
- name: tar artifacts
run: tar -cvzf lz-ani.tar.gz lz-ani LICENSE

Expand Down Expand Up @@ -74,4 +86,4 @@ jobs:
upload_url: ${{ github.event.release.upload_url }}
asset_path: ./lz-ani.tar.gz
asset_name: lz-ani-${{ github.event.release.tag_name }}-${{matrix.machine}}.tar.gz
asset_content_type: application/gzip
asset_content_type: application/gzip
41 changes: 31 additions & 10 deletions .github/workflows/self-hosted.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
name: Checkout
strategy:
matrix:
machine: [tripper, arm64_linux, mac-i7, mac-m1]
machine: [x64_linux, x64_mac, arm64_linux, arm64_mac]
runs-on: [self-hosted, lz-ani, '${{ matrix.machine }}']

steps:
Expand All @@ -30,14 +30,27 @@ jobs:
strategy:
fail-fast: false
matrix:
machine: [tripper, arm64_linux, mac-i7, mac-m1]
compiler: [12]
machine: [x64_linux, x64_mac, arm64_linux, arm64_mac]
compiler: [g++-11, g++-12, g++-13]
include:
- machine: x64_linux
platform: avx2
- machine: arm64_linux
platform: arm8
- machine: x64_mac
platform: avx2
- machine: arm64_mac
platform: m1
exclude:
- machine: arm64_linux
compiler: g++-13

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

steps:
- name: make (g++-${{matrix.compiler}})
- name: make
run: |
make -j32 CXX=g++-${{matrix.compiler}}
make -j32 CXX=${{matrix.compiler}} PLATFORM=${{ matrix.platform }}
cp ./lz-ani ./lz-ani-${{matrix.compiler}}
make clean
Expand All @@ -48,15 +61,19 @@ jobs:
strategy:
fail-fast: false
matrix:
machine: [tripper, arm64_linux, mac-i7, mac-m1]
compiler: [12]
machine: [x64_linux, x64_mac, arm64_linux, arm64_mac]
compiler: [g++-11, g++-12, g++-13]
exclude:
- machine: arm64_linux
compiler: g++-13

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

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

steps:
- name: help (g++-${{matrix.compiler}})
- name: help
run: |
${EXEC}
Expand All @@ -68,8 +85,12 @@ jobs:
strategy:
fail-fast: false
matrix:
machine: [tripper, arm64_linux, mac-i7, mac-m1]
compiler: [12]
machine: [x64_linux, x64_mac, arm64_linux, arm64_mac]
compiler: [g++-11, g++-12, g++-13]
exclude:
- machine: arm64_linux
compiler: g++-13

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

env:
Expand Down
8 changes: 4 additions & 4 deletions src/defs.h
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
//
// Copyright(C) 2024-2024, S.Deorowicz, A.Gudys
//
// Version: 1.1.0
// Date : 2024-09-05
// Version: 1.1.1
// Date : 2024-09-12
// *******************************************************************************************

#pragma once
Expand All @@ -15,8 +15,8 @@
#include <string>
#include "params.h"

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

Expand Down

0 comments on commit d1c44e9

Please sign in to comment.