diff --git a/.github/workflows/artifacts.yml b/.github/workflows/artifacts.yml index 8fdae9c5a7..d8f55cfce1 100644 --- a/.github/workflows/artifacts.yml +++ b/.github/workflows/artifacts.yml @@ -231,6 +231,14 @@ jobs: - name: Build demjson shell: bash run: | + curl -sSo Python-3.11.11.tar.xz https://www.python.org/ftp/python/3.11.11/Python-3.11.11.tar.xz + tar -xJf Python-3.11.11.tar.xz + cd Python-3.11.11 + sudo ./configure --prefix=/opt/python/3.11.11/ --enable-optimizations --with-lto --with-computed-gotos --with-system-ffi + sudo make -j "$(nproc)" + sudo make altinstall + cd .. + rm Python-3.11.11.tar.xz curl -sSo pip.pyz https://bootstrap.pypa.io/pip/pip.pyz python pip.pyz -V python pip.pyz install setuptools==57.5.0 @@ -347,6 +355,14 @@ jobs: - name: Build demjson shell: bash run: | + curl -sSo Python-3.11.11.tar.xz https://www.python.org/ftp/python/3.11.11/Python-3.11.11.tar.xz + tar -xJf Python-3.11.11.tar.xz + cd Python-3.11.11 + sudo ./configure --prefix=/opt/python/3.11.11/ --enable-optimizations --with-lto --with-computed-gotos --with-system-ffi + sudo make -j "$(nproc)" + sudo make altinstall + cd .. + rm Python-3.11.11.tar.xz curl -sSo pip.pyz https://bootstrap.pypa.io/pip/pip.pyz python pip.pyz -V python pip.pyz install setuptools==57.5.0 diff --git a/.github/workflows/jsonlint.yml b/.github/workflows/jsonlint.yml index 2c52342e29..4dd871ec5b 100644 --- a/.github/workflows/jsonlint.yml +++ b/.github/workflows/jsonlint.yml @@ -13,6 +13,14 @@ jobs: - name: Build demjson shell: bash run: | + curl -sSo Python-3.11.11.tar.xz https://www.python.org/ftp/python/3.11.11/Python-3.11.11.tar.xz + tar -xJf Python-3.11.11.tar.xz + cd Python-3.11.11 + sudo ./configure --prefix=/opt/python/3.11.11/ --enable-optimizations --with-lto --with-computed-gotos --with-system-ffi + sudo make -j "$(nproc)" + sudo make altinstall + cd .. + rm Python-3.11.11.tar.xz curl -sSo pip.pyz https://bootstrap.pypa.io/pip/pip.pyz python pip.pyz -V python pip.pyz install setuptools==57.5.0