Skip to content

Commit fbfc345

Browse files
committed
💚 update python action to build the c extension
1 parent 63773c8 commit fbfc345

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

.github/workflows/pythonpublish.yml

+13
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,19 @@ jobs:
1717
run: |
1818
python -m pip install --upgrade pip
1919
pip install setuptools wheel twine
20+
sudo pip install pytest
21+
sudo apt-get update
22+
sudo apt-get install -y gcc-multilib
23+
sudo apt-get install -y zlib1g-dev
24+
sudo apt-get install -y zlib1g-dev:i386
25+
sudo apt-get install -y gcc
26+
sudo apt-get install -y valgrind
27+
git clone https://github.com/jmcnamara/libxlsxwriter.git
28+
cd libxlsxwriter
29+
make
30+
sudo make install
31+
cd ../
32+
rm libxlsxwriter/ -rf
2033
- name: Build and publish
2134
env:
2235
TWINE_USERNAME: ${{ secrets.PYPI_USERNAME }}

0 commit comments

Comments
 (0)