Skip to content

Cmeel Release v2.0.2.c3 #59

Cmeel Release v2.0.2.c3

Cmeel Release v2.0.2.c3 #59

Workflow file for this run

name: Test Wheel packaging
on: ["push", "pull_request"]
env:
CMEEL_JOBS: 1
CMEEL_LOG_LEVEL: 'DEBUG'
CMEEL_TEST_JOBS: 1
jobs:
build:
name: "Build python ${{ matrix.python-version }} on ${{ matrix.os }}"
runs-on: "${{ matrix.os }}"
strategy:
matrix:
os: ["ubuntu-latest", "macos-latest"]
python-version: ["3.8", "3.9", "3.10", "3.11"]
exclude:
- os: "macos-latest"
python-version: "3.8"
steps:
- uses: actions/checkout@v3
with:
submodules: 'true'
- uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: setup
run: |
python -m pip install -U pip
python -m pip install wheel
- name: build cmeel wheel
run: python -m pip wheel -vw wh .
- uses: actions/upload-artifact@v3
with:
path: wh
test:
needs: ["build"]
name: "Test ${{ matrix.python-version }} on ${{ matrix.os }}"
runs-on: "${{ matrix.os }}"
strategy:
matrix:
os: ["ubuntu-latest", "macos-latest"]
python-version: ["3.8", "3.9", "3.10", "3.11"]
exclude:
- os: "macos-latest"
python-version: "3.8"
steps:
- uses: actions/download-artifact@v3
- uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: setup
run: |
python -m pip install -U pip
python -m pip install wheel simple503
python -m simple503 --sort --base-url "${{ github.workspace }}/artifact" artifact
- name: install wheel
run: python -m pip install -i "file:///${{ github.workspace }}/artifact" crocoddyl
- name: test
run: python -c "import crocoddyl"
env:
PYTHONWARNINGS: error