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 8c48da8 commit c855691
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 6 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/release_linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jobs:
fail-fast: false
matrix:
environment: [
"ubuntu:23.04",
"ubuntu:24.04",
"ubuntu:22.04",
"ubuntu:20.04",
"debian:12",
Expand Down Expand Up @@ -216,11 +216,14 @@ jobs:
bash ./rustup.sh -y
fi
OUTPUT=$GITHUB_WORKSPACE/$PLATFORM/yubihsm-setup
mkdir -p $OUTPUT
cargo install cargo-rpm
cargo rpm init
YUBIHSM_LIB_DIR=$GITHUB_WORKSPACE/yubihsm-shell/build/lib cargo build --release
YUBIHSM_LIB_DIR=$GITHUB_WORKSPACE/yubihsm-shell-$LIBYUBIHSM_VERSION/build/lib cargo rpm build
cp target/release/rpmbuild/RPMS/x86_64/*.rpm $GITHUB_WORKSPACE/$PLATFORM/yubihsm-setup/
cp target/release/rpmbuild/RPMS/x86_64/*.rpm $OUTPUT/
- name: upload artifacts
uses: actions/upload-artifact@v3
Expand Down
9 changes: 5 additions & 4 deletions .github/workflows/release_macos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,10 +37,11 @@ jobs:
cd ..
git clone https://github.com/Yubico/yubihsm-shell.git
cd yubihsm-shell
mkdir build
cd build
cmake .. -DBUILD_ONLY_LIB=ON
make
mkdir build
cd build
cmake .. -DBUILD_ONLY_LIB=ON
make
pwd
- name: clone yubihsmrs
run: |
Expand Down

0 comments on commit c855691

Please sign in to comment.