build: macOS release builds should include the `sandbox` feature.

This commit is contained in:
David Wendt 2022-03-29 20:44:25 -06:00 committed by Mike Welsh
parent c664f0b9ba
commit 6669b93c9b
1 changed files with 3 additions and 1 deletions

View File

@ -84,11 +84,13 @@ jobs:
os: macos-latest
target: x86_64-apple-darwin
MACOSX_DEPLOYMENT_TARGET: 10.7
DESKTOP_FEATURES: sandbox
- build_name: macos-aarch64
os: macos-latest
target: aarch64-apple-darwin
MACOSX_DEPLOYMENT_TARGET: 11.0
DESKTOP_FEATURES: sandbox
- build_name: windows-x86_32
os: windows-latest
@ -126,7 +128,7 @@ jobs:
uses: actions-rs/cargo@v1
with:
command: build
args: --package ruffle_desktop --release ${{ matrix.target && '--target' }} ${{ matrix.target }}
args: --package ruffle_desktop --release ${{matrix.DESKTOP_FEATURES && '--features' }} ${{matrix.DESKTOP_FEATURES}} ${{ matrix.target && '--target' }} ${{ matrix.target }}
env:
RUSTFLAGS: ${{ matrix.RUSTFLAGS }}
MACOSX_DEPLOYMENT_TARGET: ${{ matrix.MACOSX_DEPLOYMENT_TARGET }}