Skip to content

Commit

Permalink
Explicitly install xz.
Browse files Browse the repository at this point in the history
  • Loading branch information
csasarak committed May 11, 2024
1 parent 3e869a4 commit 9cc3c01
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/build-all.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ jobs:
- name: Install MacOS binary dependencies
if: ${{ contains(matrix.os, 'macos') }}
run: |
brew install jq
brew install jq xz
# Set up Haskell.
- uses: haskell-actions/setup@v2
Expand Down Expand Up @@ -249,12 +249,13 @@ jobs:
# On Apple Silicon there doesn't seem to be a default liblzma, and the one installed via homebrew is rejected.
# This entitlement line will relax that check.
echo "<key>com.apple.security.cs.disable-library-validation</key>\n<true/>" >> hardened_runtime_entitlements.plist
# echo "<key>com.apple.security.cs.disable-library-validation</key>\n<true/>" >> hardened_runtime_entitlements.plist
# --entitlements hardened_runtime_entitlements.plist
chmod +x release/*
# '--options runtime' enables the hardened runtime: https://developer.apple.com/documentation/security/hardened_runtime
# The hardened runtime is required for notarization.
codesign --options runtime --entitlements hardened_runtime_entitlements.plist -s 'FOSSA, Inc.' release/fossa
codesign --options runtime -s 'FOSSA, Inc.' release/fossa
codesign --options runtime -s 'FOSSA, Inc.' release/diagnose
codesign --options runtime -s 'FOSSA, Inc.' release/millhone
Expand Down

0 comments on commit 9cc3c01

Please sign in to comment.