Skip to content

Update bcny-ci.yml

Update bcny-ci.yml #18

Workflow file for this run

name: BCNY CI
on:
workflow_dispatch:
pull_request:
branches:
- master
jobs:
windows:
runs-on: windows-latest
strategy:
fail-fast: false
matrix:
include:
- arch: 'AMD64'
platform: 'x64'
- arch: 'ARM64'
platform: 'ARM64'
steps:
- uses: actions/checkout@v4
with:
submodules: "recursive"
- uses: compnerd/gha-setup-vsdevenv@main
with:
host_arch: amd64
arch: ${{ matrix.arch }}
- name: Build Workaround
run: |
git config --global user.email "[email protected]"
git config --global user.name "Arc Builder"
git fetch origin pull/92/head
git cherry-pick FETCH_HEAD
git fetch origin pull/93/head
git cherry-pick FETCH_HEAD
working-directory: external/crashpad
- name: Configure Sentry
run: >
cmake -B out `
-D CMAKE_VS_WINDOWS_TARGET_PLATFORM_VERSION=10.0.19041.0 `
-G "Visual Studio 17 2022" `
-A ${{ matrix.platform }} `
-D CMAKE_SYSTEM_NAME=Windows `
-D CMAKE_SYSTEM_PROCESSOR=${{ matrix.arch }}
- name: Build Sentry
run: cmake --build out --config RelWithDebInfo
- name: Stage Sentry
run: cmake --install out --config RelWithDebInfo --prefix sentry-native-development/usr
- uses: actions/upload-artifact@v3
with:
name: sentry-native-windows-${{ matrix.arch }}
path: sentry-native-development