Skip to content

Build Bouncy Hsm

Build Bouncy Hsm #27

Workflow file for this run

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