Skip to content

Commit

Permalink
build sdk
Browse files Browse the repository at this point in the history
  • Loading branch information
vslavik committed Aug 25, 2024
1 parent 30cfea4 commit e8452c3
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions .github/workflows/build-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,3 +24,26 @@ jobs:
with:
name: sentry-cli.exe
path: sentry-cli/target/release/sentry-cli.exe

native-sdk:
name: Build SDK
runs-on: windows-latest
strategy:
matrix:
platform: [Win32, x64]
steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
submodules: 'recursive'
- name: Configure CMake
run: cmake -B build -A ${{ matrix.platform }} -DCMAKE_BUILD_TYPE=RelWithDebInfo
- name: Build
run: cmake --build build --parallel --config RelWithDebInfo
- name: Install
run: cmake --install build --prefix install --config RelWithDebInfo
- name: Archive binaries
uses: actions/upload-artifact@v4
with:
name: binaries-${{ matrix.platform }}
path: install/

0 comments on commit e8452c3

Please sign in to comment.