FIX: Property placement of elements with single pin, ie Gnd #276
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: Deploy | |
on: [push, pull_request] | |
jobs: | |
linux: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
target: [x86_64] | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-python@v4 | |
with: | |
python-version: 3.11 | |
architecture: x64 | |
- name: Build wheels | |
uses: PyO3/maturin-action@v1 | |
with: | |
args: --release --out dist --find-interpreter | |
target: ${{ matrix.target }} | |
manylinux: manylinux_2_35 | |
before-script-linux: > | |
uname -a && | |
sudo apt-get -y update && | |
sudo apt-get -y upgrade && | |
sudo apt-get -y install \ | |
gcc clang openssl libicu-dev libgraphite2-dev \ | |
libcairo-5c-dev libcairo-gobject2 \ | |
libpango1.0-dev libpoppler-dev libpoppler-glib-dev \ | |
gcc bison flex libtool autoconf automake gcc && | |
curl -L https://sourceforge.net/projects/ngspice/files/ng-spice-rework/41/ngspice-41.tar.gz/download -o ngspice.tar.gz && | |
tar xfz ngspice.tar.gz && pushd ngspice-41 && | |
mkdir release && | |
cd release && | |
../configure --with-ngshared --enable-xspice --disable-debug --enable-cider --enable-osdi --enable-openmp && | |
make && | |
sudo make install && popd | |
- name: build sdisd | |
run: pip install build && python -m build --sdist | |
- name: Upload wheels | |
uses: actions/upload-artifact@v3 | |
with: | |
name: wheels | |
path: dist | |
release: | |
name: Release | |
runs-on: ubuntu-latest | |
if: "startsWith(github.ref, 'refs/tags/')" | |
needs: [ linux ] | |
steps: | |
- uses: actions/download-artifact@v3 | |
with: | |
name: wheels | |
- name: Publish to PyPI | |
env: | |
MATURIN_PYPI_TOKEN: ${{ secrets.PYPI_TOKEN }} | |
uses: PyO3/maturin-action@v1 | |
with: | |
command: upload | |
args: --skip-existing * |