[gen_coap_service] Updated ATS CLI mechanism, docs #14
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: gen_coap_service_python3_build | |
on: | |
push: | |
branches: [ master ] | |
paths: | |
- 'gen_coap_service/**' | |
- 'MANIFEST.in' | |
- 'pyproject.toml' | |
- 'setup.cfg' | |
- 'setup.py' | |
pull_request: | |
branches: [ master ] | |
paths: | |
- 'gen_coap_service/**' | |
- 'MANIFEST.in' | |
- 'pyproject.toml' | |
- 'setup.cfg' | |
- 'setup.py' | |
jobs: | |
deploy: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up python3 | |
uses: actions/setup-python@v4 | |
with: | |
python-version: '3.10' | |
- name: Install dependencies | |
run: | | |
python3 -m pip install --upgrade setuptools | |
python3 -m pip install --upgrade pip | |
python3 -m pip install --upgrade build | |
python3 -m pip install --upgrade wheel | |
pip3 install -r requirements.txt | |
- name: Build python3 package | |
run: | | |
python3 -m build -s --no-isolation --wheel | |
- name: Build python3 package setup | |
run: | | |
python3 setup.py sdist bdist_wheel |