Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
cffi
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Model registry
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
PyPy
cffi
Commits
6d36c836
Commit
6d36c836
authored
2 years ago
by
Matt Davis
Browse files
Options
Downloads
Patches
Plain Diff
add emulated ppc64le builds and basic smoketests only to GHA
parent
93847326
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
.github/workflows/ci.yaml
+24
-2
24 additions, 2 deletions
.github/workflows/ci.yaml
with
24 additions
and
2 deletions
.github/workflows/ci.yaml
+
24
−
2
View file @
6d36c836
...
...
@@ -50,7 +50,25 @@
-
spec
:
cp39-musllinux_i686
-
spec
:
cp310-musllinux_i686
-
spec
:
cp311-musllinux_i686
-
spec
:
cp36-manylinux_ppc64le
foreign_arch
:
true
test_args
:
'
{project}/c'
-
spec
:
cp37-manylinux_ppc64le
foreign_arch
:
true
test_args
:
'
{project}/c'
-
spec
:
cp38-manylinux_ppc64le
foreign_arch
:
true
test_args
:
'
{project}/c'
-
spec
:
cp39-manylinux_ppc64le
foreign_arch
:
true
test_args
:
'
{project}/c'
-
spec
:
cp310-manylinux_ppc64le
foreign_arch
:
true
test_args
:
'
{project}/c'
-
spec
:
cp311-manylinux_ppc64le
foreign_arch
:
true
test_args
:
'
{project}/c'
steps
:
-
name
:
clone repo
uses
:
actions/checkout@v2
...
...
@@ -53,7 +71,11 @@
steps
:
-
name
:
clone repo
uses
:
actions/checkout@v2
-
name
:
configure docker foreign arch support
uses
:
docker/setup-qemu-action@v1
if
:
${{ matrix.foreign_arch ||
false
}}
-
name
:
build/test wheels
env
:
CFLAGS
:
-Dffi_call=cffistatic_ffi_call
# override name for ffi_call to break hard if we linked against someone else's libffi
...
...
@@ -57,7 +79,7 @@
-
name
:
build/test wheels
env
:
CFLAGS
:
-Dffi_call=cffistatic_ffi_call
# override name for ffi_call to break hard if we linked against someone else's libffi
CIBW_ARCHS_LINUX
:
a
uto
CIBW_ARCHS_LINUX
:
a
ll
CIBW_BUILD
:
${{ matrix.spec }}
CIBW_BEFORE_BUILD
:
|
set -eux && \
...
...
@@ -73,7 +95,7 @@
CIBW_MANYLINUX_I686_IMAGE
:
${{ matrix.manylinux_img || '' }}
CIBW_PRERELEASE_PYTHONS
:
'
True'
CIBW_TEST_REQUIRES
:
pytest
CIBW_TEST_COMMAND
:
PYTHONUNBUFFERED=1 python -m pytest
{project}
CIBW_TEST_COMMAND
:
PYTHONUNBUFFERED=1 python -m pytest
${{ matrix.test_args || '{project}' }}
# default to test all
run
:
|
python -m pip install --upgrade "${{ matrix.cibw_version || 'cibuildwheel' }}"
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment