File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ ./eactest.com
2+ ./cvc-create.com --help
3+ ./cvc-print.com --help
Original file line number Diff line number Diff line change 1+ #! /bin/sh
2+
3+ # CI script to test on unix like systems
4+
5+ set -ex -o xtrace
6+
7+ chmod +x * .com
8+ ./eactest.com
9+ openssl ecparam -out ZZATCVCA00001.pem -name prime192v1 -genkey -param_enc explicit
10+ openssl pkcs8 -topk8 -nocrypt -in ZZATCVCA00001.pem -outform DER -out ZZATCVCA00001.pkcs8
11+ ./cvc-create.com --role=cvca --type=at --chr=ZZATCVCA00001 --expires=991231 --sign-with=ZZATCVCA00001.pkcs8 --scheme=ECDSA_SHA_256 --rid
12+ ./cvc-print.com --cvc=ZZATCVCA00001.cvcert
Original file line number Diff line number Diff line change @@ -35,33 +35,22 @@ jobs:
3535 runs-on : ubuntu-24.04
3636 needs : build
3737 steps :
38+ - uses : actions/checkout@v4
3839 - uses : actions/download-artifact@v5
39- - run : chmod +x *.com
40- - run : ./eactest.com
41- - run : openssl ecparam -out ZZATCVCA00001.pem -name prime192v1 -genkey -param_enc explicit
42- - run : openssl pkcs8 -topk8 -nocrypt -in ZZATCVCA00001.pem -outform DER -out ZZATCVCA00001.pkcs8
43- - run : ./cvc-create.com --role=cvca --type=at --chr=ZZATCVCA00001 --expires=`date --date="next year" "+%^y%^m%^d"` --sign-with=ZZATCVCA00001.pkcs8 --scheme=ECDSA_SHA_256 --rid
44- - run : find .
45- - run : ./cvc-print.com --help
40+ - run : .github/test.sh
4641
4742 test-macos :
4843 runs-on : macos-14
4944 needs : build
5045 steps :
46+ - uses : actions/checkout@v4
5147 - uses : actions/download-artifact@v5
52- - run : chmod +x *.com
53- - run : ./eactest.com
54- - run : openssl ecparam -out ZZATCVCA00001.pem -name prime192v1 -genkey -param_enc explicit
55- - run : openssl pkcs8 -topk8 -nocrypt -in ZZATCVCA00001.pem -outform DER -out ZZATCVCA00001.pkcs8
56- - run : ./cvc-create.com --role=cvca --type=at --chr=ZZATCVCA00001 --expires=`date --date="next year" "+%^y%^m%^d"` --sign-with=ZZATCVCA00001.pkcs8 --scheme=ECDSA_SHA_256 --rid
57- - run : find .
58- - run : ./cvc-print.com --help
48+ - run : .github/test.sh
5949
6050 test-windows :
6151 runs-on : windows-2025
6252 needs : build
6353 steps :
54+ - uses : actions/checkout@v4
6455 - uses : actions/download-artifact@v5
65- - run : ./eactest.com
66- - run : ./cvc-create.com --help
67- - run : ./cvc-print.com --help
56+ - run : .github/test.bat
You can’t perform that action at this time.
0 commit comments