-
Notifications
You must be signed in to change notification settings - Fork 0
36 lines (33 loc) · 901 Bytes
/
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
name: Check MacOS compatibility
# Run this workflow every time a new commit pushed to your repository
on:
push:
branches:
- main
- stable/*
tags:
- '*'
pull_request:
workflow_dispatch:
jobs:
macos-deps:
name: Install dev dependencies on MacOS
runs-on: macos-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
python-version: '3.10'
cache: 'pip'
cache-dependency-path: 'requirements/*.txt'
- name: Install OS-level packages
run: |
brew install pkg-config
- name: Install dependencies
run: |
export LIBRARY_PATH=$LIBRARY_PATH:/usr/local/opt/openssl/lib/
pip install -r requirements/dev.txt \
--use-pep517 \
--use-feature=no-binary-enable-wheel-cache
env:
STATIC_DEPS: 'true'