Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CI/CD Integration #3

Merged
merged 16 commits into from
Jun 10, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
35 changes: 35 additions & 0 deletions .github/workflows/pypi_publish.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
name: Publish to PyPI.org
on:
release:
types: [published]
push:
branches: ["main"]
pull_request:
branches: ["main"]

jobs:
build_sdist:
name: Build source distribution
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Build sdist
run: pipx run build --sdist ${{github.workspace}}
- uses: actions/upload-artifact@v3
with:
path: dist/*.tar.gz

pypi:
if: github.event_name == 'release'
needs: build_sdist
runs-on: ubuntu-latest
steps:
- uses: actions/download-artifact@v3
with:
name: artifact
path: dist

- uses: pypa/gh-action-pypi-publish@release/v1
with:
repository-url: https://test.pypi.org/legacy/
password: ${{ secrets.TEST_PYPI_API_TOKEN }}
25 changes: 25 additions & 0 deletions .github/workflows/pythonbuild.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: Python API Build
on:
push:
branches: ["main"]
pull_request:
branches: []

jobs:
python_package:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-20.04, ubuntu-22.04]
steps:
- uses: actions/checkout@v4
- name: Set up Python3
uses: actions/setup-python@v5
with:
python-version: "3.11"
- name: Install dependencies
run: |
python -m pip install --upgrade pip
- name: Build pip package
run: |
python -m pip install .
8 changes: 5 additions & 3 deletions .github/workflows/pythonbuild_devel.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,14 @@ jobs:
matrix:
os: [ubuntu-20.04, ubuntu-22.04]
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Set up Python3
uses: actions/setup-python@v3
uses: actions/setup-python@v5
with:
python-version: "3.11"
- name: Install dependencies
run: |
python -m pip install --upgrade pip
- name: Build pip package
run: |
python -m pip install --verbose ./python/
python -m pip install --verbose .
31 changes: 0 additions & 31 deletions mad-icp/CMakeLists.txt

This file was deleted.

161 changes: 0 additions & 161 deletions mad-icp/apps/mad-icp.py

This file was deleted.

18 changes: 0 additions & 18 deletions mad-icp/src/odometry/CMakeLists.txt

This file was deleted.

50 changes: 0 additions & 50 deletions mad-icp/src/odometry/pybind/pypeline.cpp

This file was deleted.

6 changes: 0 additions & 6 deletions mad-icp/src/tools/CMakeLists.txt

This file was deleted.

File renamed without changes.
Loading
Loading