-
-
Notifications
You must be signed in to change notification settings - Fork 1k
42 lines (38 loc) · 1.11 KB
/
macos.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
# Copyright © Michal Čihař <[email protected]>
#
# SPDX-License-Identifier: GPL-3.0-or-later
name: macOS
on:
push:
branches-ignore:
- deepsource-fix-**
- renovate/**
- weblate
pull_request:
permissions:
contents: read
jobs:
macos:
# This verifies that installation instructions works, any changes here
# need to be reflected in docs/admin/install/venv-macos.rst
runs-on: macos-14
env:
PYTHONUNBUFFERED: 1
PYTHONWARNINGS: default,ignore:unclosed:ResourceWarning
steps:
- uses: actions/checkout@v4
- run: brew update
- run: brew upgrade
- run: brew list --versions
- run: brew deps --tree --installed
- run: brew unlink [email protected]
# Some images have pkg-config and some pkgconf, so ignore errors here
continue-on-error: true
- name: Install brew dependencies
run: |
brew install pango cairo gobject-introspection glib libyaml pkgconf zstd xxhash libxmlsec1 uv
- name: Install Weblate
run: |
uv venv --python python3.12 .venv
source .venv/bin/activate
uv pip install -e .[all]