Skip to content

Commit

Permalink
github: test build of python package
Browse files Browse the repository at this point in the history
  • Loading branch information
thom311 committed Aug 3, 2023
1 parent 1b13319 commit 5559801
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,7 @@ jobs:
git clean -fdx
export CC="${{ matrix.cc }}"
NO_GPG_SIGN=1 ./tools/build_release.sh BuildAll
cp libnl-*.tar.gz /tmp/
- name: Build out-of-tree and disable-static
run: |
Expand All @@ -138,4 +139,30 @@ jobs:
export NLTST_SEED_RAND=
make -j 5 check
- name: Build Python
run: |
sudo apt-get -y --no-install-recommends install \
swig
git clean -fdx
pushd python
python setup.py build
python setup.py build
popd
if: ${{ matrix.cc == 'gcc' }}

- name: Build Python from tarball
run: |
git clean -fdx
mkdir t
pushd t
tar -xvf /tmp/libnl-*.tar.gz
pushd libnl-*/
pushd python
python setup.py build
python setup.py build
popd
popd
popd
if: ${{ matrix.cc == 'gcc' }}

- run: echo "🍏 This job's status is ${{ job.status }}."

0 comments on commit 5559801

Please sign in to comment.