diff options
author | Damiano Galassi <[email protected]> | 2020-10-30 14:38:45 +0100 |
---|---|---|
committer | Damiano Galassi <[email protected]> | 2020-11-05 09:49:16 +0100 |
commit | 3d515abf5f50aaeac4b02a6e04d4d98b17c19914 (patch) | |
tree | 68e1a9936d7eed8c43f4e891cd3f5bb1b98f9a03 | |
parent | 25da8ed4896f43c86c0a9eaedf09b4b883f43227 (diff) |
actions: enable universal mac build.
-rw-r--r-- | .github/workflows/mac.yml | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/.github/workflows/mac.yml b/.github/workflows/mac.yml index 77725b1a5..9ca1ed4d8 100644 --- a/.github/workflows/mac.yml +++ b/.github/workflows/mac.yml @@ -2,6 +2,9 @@ name: macOS build on: [push, pull_request] +env: + DEVELOPER_DIR: /Applications/Xcode_12.2.app/Contents/Developer + jobs: handle_forks: name: Forked Repo @@ -15,7 +18,7 @@ jobs: build: name: Build on macOS - runs-on: macOS-latest + runs-on: macos-11.0 if: github.repository == 'HandBrake/HandBrake' steps: - uses: actions/checkout@master @@ -35,8 +38,10 @@ jobs: - name: Build HandBrake run: | git submodule update --init --recursive - ./configure --launch-jobs=$(sysctl -n hw.ncpu) --launch + mkdir build cd build + ../configure --sandbox --harden + make ub make pkg.create - name: Upload Assets |