Skip to content

Remove many linux build temporarily. #1226

Remove many linux build temporarily.

Remove many linux build temporarily. #1226

Workflow file for this run

name: Dev CI
on:
push:
branches:
# on all branches except main where full build will be run
- '*'
- '!main'
jobs:
macos_windows_build:
name: Build ${{ matrix.config.name }} ${{ matrix.python.name }} wheel
runs-on: ${{ matrix.config.os }}
strategy:
matrix:
config:
- {
name: darwin,
os: macos-11,
}
- {
name: windows,
os: windows-2022,
}
python:
- {
name: cp38,
version: '3.8',
}
steps:
- name: Setup GraalVM
uses: graalvm/setup-graalvm@v1
with:
java-version: '17'
distribution: 'graalvm'
github-token: ${{ secrets.GITHUB_TOKEN }}
- name: Checkout sources
uses: actions/checkout@v3
with:
submodules: true
- name: Checkout powsybl-optimizer sources
uses: actions/checkout@v1
with:
repository: powsybl/powsybl-optimizer
ref: refs/heads/add_resources_path
- name: Build and install powsybl-optimizer with Maven
run: mvn --batch-mode -DskipTests=true --file ../powsybl-optimizer/pom.xml install
- name: Setup Python
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python.version }}
- name: Install Python dependencies
run: |
python -m pip install --upgrade pip
python -m pip install -r requirements.txt
- name: Build wheel
env:
MACOSX_DEPLOYMENT_TARGET: "10.16" # to ensure pip finds wheel when Big Sur is configured to return 10.16 as version instead of 11.0
run: python setup.py bdist_wheel
- name: Install wheel
shell: bash
run: python -m pip install dist/*.whl --user
- name: Run tests
working-directory: ./tests
run: python3 -m pytest
- name: Type checking
run: mypy -p pypowsybl
- name: Run doc examples
working-directory: ./docs
run: make doctest
package:
name: Package wheels
runs-on: ubuntu-latest
needs: [manylinux_build, macos_windows_build]

Check failure on line 86 in .github/workflows/dev-ci.yml

View workflow run for this annotation

GitHub Actions / Dev CI

Invalid workflow file

The workflow is not valid. .github/workflows/dev-ci.yml (Line: 86, Col: 13): Job 'package' depends on unknown job 'manylinux_build'.
steps:
- name: Download wheels
uses: actions/download-artifact@v3
with:
path: download
- name: Upload wheels
uses: actions/upload-artifact@v3
with:
name: pypowsybl-wheels
path: |
download/**/*.whl