6
0
mirror of https://github.com/ChristianLight/tutor.git synced 2024-12-04 19:03:39 +00:00

ci: backward compatible Tutor binary releases

Tutor binary releases were no longer compatible with Ubuntu 20.04 since the
ubuntu-latest image was 22.04 on GitHub.

The error was:

    [7893] Error loading Python lib '/tmp/_MEIcyvkMV/libpython3.7m.so.1.0': dlopen: /lib/x86_64-linux-gnu/libm.so.6: version `GLIBC_2.35' not found (required by /tmp/_MEIcyvkMV/libpython3.7m.so.1.0)

We fix this issue by downgrading the GitHub image with which we make the
release.

Close #765.
This commit is contained in:
Régis Behmo 2023-01-05 12:02:39 +01:00
parent 8b4719a13e
commit 67f9c092d2

View File

@ -3,7 +3,7 @@
# act --secret GITHUB_TOKEN=... --job release
#
# https://github.com/nektos/act/
# To generate a token: https://github.com/settings/tokens
# To generate a token: https://github.com/settings/tokens (add r/w permissions for "Contents")
name: Release
on:
@ -18,11 +18,14 @@ jobs:
matrix:
include:
# https://github.com/actions/runner-images#available-images
- os: ubuntu-latest
# It's important that we build the tutor binaries with the *oldest* possible
# OS releases and Python version. See these docs for more information:
# https://pyinstaller.org/en/stable/usage.html#making-gnu-linux-apps-forward-compatible
- os: ubuntu-20.04
locale: C.UTF-8
gh_os: linux
# https://endoflife.date/macos
- os: macos-latest
- os: macos-10.15
locale: en_US.UTF-8
gh_os: macOs
env: