Update copyright to 2024 #135
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: MacOS build | |
on: | |
push: | |
workflow_dispatch: | |
jobs: | |
build: | |
runs-on: macos-12 | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
submodules: true | |
fetch-depth: 0 | |
- name: Install dependencies | |
run: | | |
brew install \ | |
gtkmm3 \ | |
gtk-mac-integration \ | |
ninja | |
# Workaround for now, we create our own features.h file (macos image either is missing this file, or some include folder is missing during the build) | |
- name: Add `features.h` | |
run: | | |
cat >> src/features.h << EOF | |
#pragma once | |
/*** @file features.h* | |
* @brief Synonym for `<sys/cdefs.h>` for source compatibility with glibc. | |
* */ | |
#include <sys/cdefs.h> | |
EOF | |
- name: Build | |
run: ./scripts/build-macos-prod.sh | |
- uses: actions/upload-artifact@v4 | |
with: | |
name: macOS-dmg-package | |
path: build_prod_macos/libreweb-browser-v*.dmg |