Install binutils for Linux release packaging
This commit is contained in:
+3
-2
@@ -30,8 +30,9 @@ The check must print `aarch64` (Docker may warn about the host architecture). Ke
|
||||
ARM64 image on the server: act_runner cannot pull an ARM-only image using the host's default
|
||||
x86_64 platform. The ARM64 job installs an ARM64 JDK 21 inside its container, so
|
||||
`jpackage` embeds an ARM64 runtime. It uses the public Gitea source repository at the exact
|
||||
workflow commit. The x86_64 container installs `fakeroot` and RPM tools during its job. ARM64
|
||||
emulation is slower than a native ARM machine; the job timeout is four hours.
|
||||
workflow commit. Both Linux jobs install `fakeroot`, RPM tools, and `binutils` for
|
||||
`jpackage` (which calls `objcopy`). ARM64 emulation is slower than a native ARM machine;
|
||||
the job timeout is four hours.
|
||||
|
||||
## GitHub hosted Windows and Mac jobs
|
||||
|
||||
|
||||
@@ -50,14 +50,15 @@ jobs:
|
||||
test "$(uname -m)" = x86_64
|
||||
if [ "$(id -u)" -eq 0 ]; then
|
||||
apt-get update
|
||||
DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends fakeroot rpm xxd
|
||||
DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends fakeroot rpm binutils xxd
|
||||
else
|
||||
sudo apt-get update
|
||||
sudo DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends fakeroot rpm xxd
|
||||
sudo DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends fakeroot rpm binutils xxd
|
||||
fi
|
||||
command -v fakeroot
|
||||
command -v dpkg-deb
|
||||
command -v rpmbuild
|
||||
command -v objcopy
|
||||
- name: Test and build JAR, sources, DEB and RPM
|
||||
run: ./gradlew clean build sourcesJar createAll --no-daemon --console=plain
|
||||
- name: Attach Linux x86_64 files to draft release
|
||||
@@ -91,7 +92,8 @@ jobs:
|
||||
test "$(uname -m)" = aarch64
|
||||
apt-get update
|
||||
DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends \
|
||||
ca-certificates openjdk-21-jdk fakeroot rpm git curl
|
||||
ca-certificates openjdk-21-jdk fakeroot rpm binutils git curl
|
||||
command -v objcopy
|
||||
git clone --quiet https://git.briggen.dev/NilsBriggen/Logisim-Revolution.git source
|
||||
cd source
|
||||
git checkout --detach "$GITEA_SHA"
|
||||
|
||||
Reference in New Issue
Block a user