ci: install libfl2 for the DJGPP binutils
Some checks failed
Build / Linux (push) Has been cancelled
Build / Windows (MSVC) (push) Has been cancelled
Build / macOS (push) Has been cancelled
Build / libarchive plugin (push) Has been cancelled
Build / DOS (DJGPP) (push) Has been cancelled
Docs / build (push) Has been cancelled
Docs / deploy (push) Has been cancelled
Some checks failed
Build / Linux (push) Has been cancelled
Build / Windows (MSVC) (push) Has been cancelled
Build / macOS (push) Has been cancelled
Build / libarchive plugin (push) Has been cancelled
Build / DOS (DJGPP) (push) Has been cancelled
Docs / build (push) Has been cancelled
Docs / deploy (push) Has been cancelled
The prebuilt DJGPP ar and ld from the andrewwutw release are linked against the flex runtime (libfl.so.2), which a clean GitHub runner does not have, so linking libuc2.a failed with a loader error. Install libfl2 before extracting the toolchain.
This commit is contained in:
4
.github/workflows/build.yml
vendored
4
.github/workflows/build.yml
vendored
@@ -87,6 +87,10 @@ jobs:
|
||||
- uses: actions/checkout@v4
|
||||
- name: Install DJGPP cross-toolchain
|
||||
run: |
|
||||
# The prebuilt DJGPP binutils (ar, ld) are linked against the
|
||||
# flex runtime; install it so they load on a clean runner.
|
||||
sudo apt-get update
|
||||
sudo apt-get install -y libfl2
|
||||
curl -fsSL -o djgpp.tar.bz2 "$DJGPP_URL"
|
||||
echo "${DJGPP_SHA256} djgpp.tar.bz2" | sha256sum -c -
|
||||
sudo tar xjf djgpp.tar.bz2 -C /opt # -> /opt/djgpp
|
||||
|
||||
Reference in New Issue
Block a user