Skip to content

Commit

Permalink
use older Ubuntu for Linux build for "more compatible binaries" (#3)
Browse files Browse the repository at this point in the history
* add -static-libstd++

* bump version

* use older Ubuntu-runner instead...

* fix
  • Loading branch information
ptahmose authored Oct 24, 2023
1 parent 8fb5dc2 commit 029973e
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/cmake.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,16 +46,16 @@ jobs:
package: ON,
path-cache: '${{ github.workspace }}\vcpkg\installed',
path-toolchain: 'C:/vcpkg/scripts/buildsystems/vcpkg.cmake',
os-id: 'linux'
os-id: 'windows'
}
- {
name: ubuntu-release-package-on,
os: ubuntu-latest,
os: ubuntu-20.04, # we want to use an older version in order to increase likelihood that binaries work on other distros
platform: x64-linux,
package: ON,
path-cache: '/usr/local/share/vcpkg/installed',
path-toolchain: '/usr/local/share/vcpkg/scripts/buildsystems/vcpkg.cmake',
os-id: 'windows'
os-id: 'linux'
}

steps:
Expand Down Expand Up @@ -88,7 +88,7 @@ jobs:
# gather the binaries
- name: Prepare Linux binaries
if: matrix.config.os == 'ubuntu-latest'
if: matrix.config.os == 'ubuntu-20.04'
working-directory: ${{github.workspace}}
shell: bash
run: |
Expand Down
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ cmake_policy(SET CMP0091 NEW) # enable new "MSVC runtime library selection" (htt
# Note that the CMake-variables <Projectname>_VERSION_MAJOR, <Projectname>_VERSION_MINOR, ... are defined by this statement,
# which are used in the build (so that - if changing the name here, change also the usage of those variables).
project ("czicompress"
VERSION 0.5.0)
VERSION 0.5.1)

set(czicompress_VERSION_PATCH_FLAGS "-alpha")
set(czicompress_VERSION_TWEAK_FLAGS "")
Expand Down

0 comments on commit 029973e

Please sign in to comment.