Skip to content

Commit

Permalink
CI: Build profiler tool and upload artifacts
Browse files Browse the repository at this point in the history
  • Loading branch information
brusherru committed May 12, 2023
1 parent 36b89dc commit 27e3654
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,8 @@ jobs:
wget https://github.com/KhronosGroup/OpenCL-SDK/releases/download/v2023.04.17/OpenCL-SDK-v2023.04.17-Win-x64.zip
unzip -j OpenCL-SDK-v2023.04.17-Win-x64.zip OpenCL-SDK-v2023.04.17-Win-x64/lib/OpenCL.lib
- run: cd ffi && cargo build --profile release-clib
- name: Build clib
run: cd ffi && cargo build --profile release-clib
env:
RUSTFLAGS: ${{ matrix.rustflags }}
- name: Archive production artifacts
Expand All @@ -144,3 +145,14 @@ jobs:
ffi/prover.h
target/release-clib/${{ matrix.dylib }}
target/release-clib/${{ matrix.staticlib }}
if-no-files-found: error

- name: Build profiler tool
run: cd profiler && cargo build --release
- name: Archive profiler artifacts
uses: actions/upload-artifact@v3
with:
name: profiler-${{ matrix.artifact-name || matrix.os }}
path: |
target/release/profiler${{ matrix.os == 'windows-latest' && '.exe' || '' }}
if-no-files-found: error

0 comments on commit 27e3654

Please sign in to comment.