Skip to content

macOS: Fix build dependencies #1099

macOS: Fix build dependencies

macOS: Fix build dependencies #1099

Workflow file for this run

---
name: macOS Build
# yamllint disable-line rule:truthy
on:
- push
jobs:
build:
name: ${{matrix.buildname}}
runs-on: ${{matrix.os}}
strategy:
matrix:
include:
- os: macos-11
buildname: macOS 10.15
build_type: Release
compiler: clang_64
create_bundle: true
steps:
- name: Checkout source code
uses: actions/checkout@v3
with:
submodules: false
fetch-depth: 1
- name: Install dependencies
run: '${{github.workspace}}/utils/github/install-macos.sh'
- name: Build with CMake
uses: lukka/run-cmake@v10
with:
configurePreset: macOS
buildPreset: macOS
- name: Create gnupg directory for tests
run: mkdir -p ~/.gnupg
- name: Create macOS bundle
if: matrix.create_bundle
working-directory: '${{runner.workspace}}/build'
run: '${{github.workspace}}/utils/github/bundle-macos.sh'
- name: Upload macOS bundle
if: matrix.create_bundle
uses: actions/upload-artifact@v3
with:
name: CopyQ.dmg
path: '${{runner.workspace}}/build/CopyQ.dmg'