Skip to content

Commit

Permalink
Update workflows.
Browse files Browse the repository at this point in the history
  • Loading branch information
harrison314 committed Dec 16, 2024
1 parent a6b38ec commit 4070dae
Showing 1 changed file with 33 additions and 1 deletion.
34 changes: 33 additions & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Build Bouncy Hsm
name: Build Bouncy Hsm Experimental
on:
workflow_dispatch

Expand Down Expand Up @@ -29,6 +29,38 @@ jobs:
build_linux/*.so
retention-days: 1

Build-REHL-like:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v1
- name: Cache Docker layers
uses: actions/cache@v2
with:
path: /tmp/.buildx-cache
key: ${{ runner.os }}-buildx-${{ github.sha }}
restore-keys: |
${{ runner.os }}-buildx-
- name: Build Docker image
run: |
docker build --file Dockerfile --tag c-project:latest .
- name: Run Docker container and compile project
run: |
docker run --rm -v ${{ github.workspace }}:/workspace -w /workspace/build_linux c-project:latest make
- name: Rename so file for REHL distribution
run: |
mv -f build_linux/BouncyHsm.Pkcs11Lib-x64.so build_linux/BouncyHsm.Pkcs11Lib-x64-rehl.so
- name: Archive build artifacts
uses: actions/upload-artifact@v2
with:
name: build-artifacts
path: |
build_linux/*.so
retention-days: 1


Build-Bouncy-Hsm:
name: Build-Bouncy-Hsm
runs-on: windows-latest
Expand Down

0 comments on commit 4070dae

Please sign in to comment.