Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
gaoqiong
pybind11
Commits
aab70139
Commit
aab70139
authored
Jul 24, 2020
by
Henry Schreiner
Committed by
Henry Schreiner
Jul 26, 2020
Browse files
ci: cache, build wheels on macOS PyPy3
parent
5927c581
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
14 additions
and
0 deletions
+14
-0
.github/workflows/ci.yml
.github/workflows/ci.yml
+13
-0
tests/requirements.txt
tests/requirements.txt
+1
-0
No files found.
.github/workflows/ci.yml
View file @
aab70139
...
@@ -57,6 +57,19 @@ jobs:
...
@@ -57,6 +57,19 @@ jobs:
with
:
with
:
python-version
:
${{ matrix.python }}
python-version
:
${{ matrix.python }}
-
name
:
Cache wheels
if
:
startsWith(runner.os, 'macOS')
uses
:
actions/cache@v2
with
:
# This path is specific to macOS - we really only need it for PyPy NumPy wheels
# See https://github.com/actions/cache/blob/master/examples.md#python---pip
# for ways to do this more generally
path
:
~/Library/Caches/pip
# Look to see if there is a cache hit for the corresponding requirements file
key
:
${{ runner.os }}-pip-${{ hashFiles('requirements.txt') }}
restore-keys
:
|
${{ runner.os }}-pip-
-
name
:
Prepare env
-
name
:
Prepare env
run
:
python -m pip install -r tests/requirements.txt
run
:
python -m pip install -r tests/requirements.txt
...
...
tests/requirements.txt
View file @
aab70139
--extra-index-url https://antocuni.github.io/pypy-wheels/manylinux2010/
--extra-index-url https://antocuni.github.io/pypy-wheels/manylinux2010/
numpy; platform_python_implementation!="PyPy" or sys_platform!="darwin" or python_version<"3.0"
numpy; platform_python_implementation!="PyPy" or sys_platform!="darwin" or python_version<"3.0"
numpy<1.19; platform_python_implementation=="PyPy" and sys_platform=="darwin" and python_version>="3.0"
pytest
pytest
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment