Skip to content

Commit

Permalink
Update githubactions workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
aveenismail committed Aug 15, 2024
1 parent c855691 commit 633af5f
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/workflows/release_linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/release_macos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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: |
Expand Down

0 comments on commit 633af5f

Please sign in to comment.