Build Bouncy Hsm #27
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: Build Bouncy Hsm | |
on: | |
workflow_dispatch | |
jobs: | |
Build-linux-libs: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Build PKCS11 lib x64 | |
run: | | |
cd build_linux | |
make build64 | |
rm -f *.o | |
# - name: Instal 32bit tooling | |
# run: | | |
# apt-get update -qq | |
# apt-get install gcc-multilib -q -y | |
# - name: Build PKCS11 lib x32 | |
# run: | | |
# cd build_linux | |
# make build32 | |
# rm -f *.o | |
- name: Upload linux native artifacts | |
uses: actions/upload-artifact@v4 | |
with: | |
name: linux-native-libs | |
path: | | |
build_linux/*.so | |
retention-days: 1 | |
Build-Bouncy-Hsm: | |
name: Build-Bouncy-Hsm | |
runs-on: windows-latest | |
needs: Build-linux-libs | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Cache .nuke/temp, ~/.nuget/packages | |
uses: actions/cache@v4 | |
with: | |
path: | | |
.nuke/temp | |
~/.nuget/packages | |
key: ${{ runner.os }}-${{ hashFiles('**/global.json', '**/*.csproj') }} | |
- uses: actions/download-artifact@v4 | |
with: | |
name: linux-native-libs | |
path: build_linux | |
- name: Run './build.cmd BuildAll' | |
run: ./build.cmd BuildAll | |
- uses: actions/upload-artifact@v4 | |
with: | |
name: Bouncy-Hsm-Artifacts | |
path: artifacts/*.zip |