mirror of
https://git.sr.ht/~lattis/muon
synced 2026-01-29 10:54:44 +00:00
36 lines
876 B
YAML
36 lines
876 B
YAML
# SPDX-FileCopyrightText: Stone Tickle <lattis@mochiro.moe>
|
|
# SPDX-License-Identifier: GPL-3.0-only
|
|
|
|
name: macos
|
|
|
|
on:
|
|
push:
|
|
branches: [ master ]
|
|
pull_request:
|
|
branches: [ master ]
|
|
types: [opened, synchronize, reopened]
|
|
|
|
permissions:
|
|
contents: read
|
|
|
|
jobs:
|
|
macos:
|
|
runs-on: macos-latest
|
|
steps:
|
|
- uses: actions/checkout@v3
|
|
- name: bootstrap_deps
|
|
run: |
|
|
set -x
|
|
mkdir -p build
|
|
curl -L -o build/pkgconf-1.9.3.tar.gz https://github.com/pkgconf/pkgconf/archive/refs/tags/pkgconf-1.9.3.tar.gz
|
|
tar xvf build/pkgconf-1.9.3.tar.gz
|
|
mv pkgconf-pkgconf-1.9.3 subprojects/pkgconf
|
|
- name: bootstrap
|
|
run: |
|
|
./bootstrap.sh build
|
|
PATH="build:$PATH" build/muon -v setup build
|
|
build/muon -C build samu
|
|
- name: test
|
|
run: |
|
|
build/muon -C build test -v -ddots || true
|