Skip to content

Try debugging MacOS build #435

Try debugging MacOS build

Try debugging MacOS build #435

Workflow file for this run

---
name: CI
on:
push:
branches:
- master
tags:
- 1.*
pull_request:
schedule:
- cron: 0 7 1 * *
jobs:
build-macos:
runs-on: macos-latest
strategy:
matrix:
include:
- config-args: "--without-snmp --with-xml"
release: false
- config-args: >
--prefix=/usr/local
--localstatedir=/var
--sysconfdir=/private/etc
--with-embedded-libevent
--without-snmp
--without-xml
release: true
steps:
- uses: actions/checkout@v4
with:
submodules: true
- name: Install stuff
run: ./tests/ci/install.sh
- name: Build and run tests
run: ./tests/ci/run.sh
env:
LLDPD_CONFIG_ARGS: ${{ matrix.config-args }}
CC: clang
- name: Upload MacOS release package
uses: actions/upload-artifact@v4
if: matrix.release
with:
name: package
path: build/lldpd-*.pkg
if-no-files-found: error