Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
opendht
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Deploy
Model registry
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
savoirfairelinux
opendht
Commits
52b735b1
Commit
52b735b1
authored
2 years ago
by
Adrien Béraud
Browse files
Options
Downloads
Patches
Plain Diff
ci/github: build Python Wheel
parent
f862305f
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
.github/workflows/release-python.yml
+36
-0
36 additions, 0 deletions
.github/workflows/release-python.yml
with
36 additions
and
0 deletions
.github/workflows/release-python.yml
0 → 100644
+
36
−
0
View file @
52b735b1
# This workflow uses actions that are not certified by GitHub.
# They are provided by a third-party and are governed by
# separate terms of service, privacy policy, and support
# documentation.
name
:
Create and publish Docker images
on
:
release
:
types
:
[
published
]
jobs
:
build-and-push-deps-image
:
name
:
Build Python Wheel package
runs-on
:
ubuntu-latest
container
:
ghcr.io/savoirfairelinux/opendht/opendht-deps:latest
permissions
:
contents
:
read
steps
:
-
name
:
Checkout repository
uses
:
actions/checkout@v3
-
name
:
cmake
run
:
|
mkdir build && cd build && \
cmake .. -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release -DOPENDHT_C=Off -DOPENDHT_PEER_DISCOVERY=On -DOPENDHT_PYTHON=On -DOPENDHT_TOOLS=Off -DOPENDHT_PROXY_SERVER=On -DOPENDHT_PROXY_CLIENT=On
-
name
:
build
run
:
cd build && make dist
-
uses
:
actions/upload-artifact@v3
with
:
name
:
opendht-wheels-linux
path
:
build/python/dist/*.whl
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