YKCS11: Test: Increase test coverage of X25519 keys #933
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: MacOS Release | |
# This workflow is triggered on pushes to the repository. This is machine tests that everything is set for a release | |
# build. The binaries produced here can be used to make the release | |
on: [push] | |
jobs: | |
release_built: | |
name: Build pkg from source | |
runs-on: ${{ matrix.os }} | |
strategy: | |
fail-fast: false | |
matrix: | |
include: | |
- os: macos-latest | |
arch: amd | |
- os: macos-latest-xlarge | |
arch: arm | |
env: | |
RELEASE_VERSION: 2.6.0 | |
SO_VERSION: 2 | |
steps: | |
- name: checkout | |
uses: actions/checkout@v4 | |
- name: Install prerequisites | |
run: | | |
set -x | |
brew update | |
brew install check gengetopt help2man opensc zlib | |
brew reinstall openssl@3 | |
- name: Build MacOS binaries | |
env: | |
ARCH: ${{ matrix.arch }} | |
run: | | |
set -x | |
export INSTALL_PREFIX=/usr/local | |
./resources/macos/make_release_binaries.sh $ARCH $RELEASE_VERSION $SO_VERSION $INSTALL_PREFIX | |
mkdir $GITHUB_WORKSPACE/artifact | |
mv resources/macos/yubico-piv-tool-$RELEASE_VERSION-mac-$ARCH.zip $GITHUB_WORKSPACE/artifact/ | |
- name: Create installer | |
env: | |
ARCH: ${{ matrix.arch }} | |
run: | | |
set -x | |
./resources/macos/make_installer.sh $RELEASE_VERSION $GITHUB_WORKSPACE/artifact/yubico-piv-tool-$RELEASE_VERSION-mac-$ARCH.zip | |
- name: Install yubico-piv-tool from installer | |
run: | | |
set -x | |
cd resources/macos | |
sudo installer -verbose -store -pkg $PWD/yubico-piv-tool-$RELEASE_VERSION.pkg -target / | |
yubico-piv-tool --help | grep "Usage: yubico-piv-tool" | |
cp yubico-piv-tool-$RELEASE_VERSION.pkg $GITHUB_WORKSPACE/artifact/ | |
- name: Upload artifact | |
uses: actions/upload-artifact@v4 | |
with: | |
name: yubico-piv-tool-mac-${{ matrix.arch }}64 | |
path: artifact |