File tree Expand file tree Collapse file tree 2 files changed +10
-6
lines changed Expand file tree Collapse file tree 2 files changed +10
-6
lines changed Original file line number Diff line number Diff line change 9
9
fail-fast : false
10
10
matrix :
11
11
environment : [
12
- " ubuntu:23 .04" ,
12
+ " ubuntu:24 .04" ,
13
13
" ubuntu:22.04" ,
14
14
" ubuntu:20.04" ,
15
15
" debian:12" ,
@@ -216,11 +216,14 @@ jobs:
216
216
bash ./rustup.sh -y
217
217
fi
218
218
219
+ OUTPUT=$GITHUB_WORKSPACE/$PLATFORM/yubihsm-setup
220
+ mkdir -p $OUTPUT
221
+
219
222
cargo install cargo-rpm
220
223
cargo rpm init
221
224
YUBIHSM_LIB_DIR=$GITHUB_WORKSPACE/yubihsm-shell/build/lib cargo build --release
222
225
YUBIHSM_LIB_DIR=$GITHUB_WORKSPACE/yubihsm-shell-$LIBYUBIHSM_VERSION/build/lib cargo rpm build
223
- cp target/release/rpmbuild/RPMS/x86_64/*.rpm $GITHUB_WORKSPACE/$PLATFORM/yubihsm-setup /
226
+ cp target/release/rpmbuild/RPMS/x86_64/*.rpm $OUTPUT /
224
227
225
228
- name : upload artifacts
226
229
uses : actions/upload-artifact@v3
Original file line number Diff line number Diff line change @@ -37,10 +37,11 @@ jobs:
37
37
cd ..
38
38
git clone https://github.com/Yubico/yubihsm-shell.git
39
39
cd yubihsm-shell
40
- mkdir build
41
- cd build
42
- cmake .. -DBUILD_ONLY_LIB=ON
43
- make
40
+ mkdir build
41
+ cd build
42
+ cmake .. -DBUILD_ONLY_LIB=ON
43
+ make
44
+ pwd
44
45
45
46
- name : clone yubihsmrs
46
47
run : |
You can’t perform that action at this time.
0 commit comments