Skip to content

Reactivate 32-bit CI #244

Description

@mratsim

32-bit CI is failing recently. It may be fixed whern a new Github CI Agent is out with more recent packages that avoid the you have held broken packages error.

image

Run sudo dpkg --add-architecture i386
  sudo dpkg --add-architecture i386
  sudo apt-fast update -qq
  
  # Try to fix "E: Unable to correct problems, you have held broken packages."
  sudo apt-fast clean
  
  sudo DEBIAN_FRONTEND='noninteractive' apt-fast install \
    --no-install-recommends -yq \
    gcc-multilib g++-multilib \
    libssl-dev:i386 libgmp-dev:i386
  
  mkdir -p external/bin
  cat << EOF > external/bin/gcc
  #!/bin/bash
  exec $(which gcc) -m32 "\$@"
  EOF
  cat << EOF > external/bin/g++
  #!/bin/bash
  exec $(which g++) -m32 "\$@"
  EOF
  chmod 755 external/bin/{gcc,g++}
  echo '/home/runner/work/constantine/constantine/external/bin' >> $GITHUB_PATH
  shell: /usr/bin/bash -e {0}
[apt-fast 06:24:01]
[apt-fast 06:24:01]Working... this may take a while.
E: Unable to correct problems, you have held broken packages.
[apt-fast 06:24:01]Package manager quit with exit code.
Error: Process completed with exit code 100.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions