modified: .github/workflows/mikrotik_patch.yml
This commit is contained in:
parent
132d63e963
commit
c61387b0df
3
.github/workflows/mikrotik_patch.yml
vendored
3
.github/workflows/mikrotik_patch.yml
vendored
@ -66,6 +66,7 @@ jobs:
|
||||
rm -f Python-3.11.9.tar.xz
|
||||
sudo mkdir -p /pckg/python3/
|
||||
cd Python-3.11.9
|
||||
sudo apt install -y build-essential libssl-dev zlib1g-dev libbz2-dev libreadline-dev libsqlite3-dev libffi-dev liblzma-dev tk-dev libgdbm-dev libdb5.3-dev libexpat1 libncursesw5-dev libssl-dev xz-utils
|
||||
./configure --enable-optimizations --prefix=/pckg/python3/ LDFLAGS="-static" CFLAGS="-static" --disable-shared --disable-test-modules --without-static-libpython
|
||||
make -j$(nproc)
|
||||
sudo make altinstall
|
||||
@ -73,7 +74,7 @@ jobs:
|
||||
rm -rf Python-3.11.9
|
||||
sudo mksquashfs /pckg/python3 python3.sfs -quiet -comp xz -no-xattrs -b 256
|
||||
sudo rm -rf /pckg
|
||||
|
||||
|
||||
- name: Archive Generated File
|
||||
uses: actions/upload-artifact@v2
|
||||
with:
|
||||
|
Loading…
x
Reference in New Issue
Block a user