diff --git a/.github/workflows/release_linux.yml b/.github/workflows/release_linux.yml index 1ab96db..5d69f69 100644 --- a/.github/workflows/release_linux.yml +++ b/.github/workflows/release_linux.yml @@ -87,7 +87,12 @@ jobs: git clone https://github.com/Yubico/yubihsm-shell.git cd yubihsm-shell - if [ "$PLATFORM" = "debian11" ] || [ "$PLATFORM" = "ubuntu1804" ]; then + if [ "$PLATFORM" = "ubuntu2404" ]; then + # ubuntu 24.04 comes with _FORTIFY_SOURCE already set + sed -i 's/add_definitions (-D_FORTIFY_SOURCE=2)/add_definitions (-D_FORTIFY_SOURCE=3)/' cmake/SecurityFlags.cmake + fi + + if [ "$PLATFORM" = "debian11" ]; then dpkg-buildpackage -b --no-sign else dpkg-buildpackage diff --git a/.github/workflows/release_macos.yml b/.github/workflows/release_macos.yml index 38ea059..dc3680f 100644 --- a/.github/workflows/release_macos.yml +++ b/.github/workflows/release_macos.yml @@ -42,6 +42,8 @@ jobs: cmake .. -DBUILD_ONLY_LIB=ON make pwd + echo $GITHUB_WORKSPACE + ls $GITHUB_WORKSPACE/yubihsm-setup/yubihsm-shell/build/lib - name: clone yubihsmrs run: |