Skip to content

Upgrade to kubo. Create source archive code correctly with version. M… #130

Upgrade to kubo. Create source archive code correctly with version. M…

Upgrade to kubo. Create source archive code correctly with version. M… #130

Workflow file for this run

name: MacOS build
on:
push:
workflow_dispatch:
jobs:
build:
runs-on: macos-12
steps:
- uses: actions/checkout@v3
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