Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Add testing and docs for ubuntu-24.04-arm GHA runner #2135

Merged
merged 2 commits into from
Jan 21, 2025

address review comments

efaf056
Select commit
Loading
Failed to load commit list.
Merged

feat: Add testing and docs for ubuntu-24.04-arm GHA runner #2135

address review comments
efaf056
Select commit
Loading
Failed to load commit list.
Travis CI / Travis CI - Pull Request succeeded Jan 21, 2025 in 33m 54s

Build Passed

The build passed. This is a change from the previous build, which failed.

Details

This is a pull request build.

It is running a build against the merge commit, after merging #2135 ci(gha): add tests on ubuntu-24.04-arm.
Any changes that have been made to the main branch before the build ran are also included.

Jobs and Stages

This build has five jobs, running in parallel.

Job Python ENV OS State Notes
6239.1 Linux | x86_64 + i686 | Python 3.11 3.11 PYTHON=python Linux passed
6239.2 Linux | arm64 | Python 3.11 3.11 PYTHON=python Linux passed
6239.3 Windows | x86_64 | Python 3.11 PYTHON=C:\\Python311\\python windows passed
6239.4 Linux | ppc64le | Python 3.11 3.11 PYTHON=python Linux failed This job is allowed to fail.
6239.5 Linux | s390x | Python 3.11 3.11 PYTHON=python Linux passed This job is allowed to fail.

Build Configuration

Build Option Setting
Language Python
Operating System Linux (Focal)
Build Configuration
{
  "language": "python",
  "os": [
    "linux"
  ],
  "dist": "focal",
  "branches": {
    "only": [
      "main"
    ]
  },
  "jobs": {
    "include": [
      {
        "name": "Linux | x86_64 + i686 | Python 3.11",
        "python": "3.11",
        "services": [
          "docker"
        ],
        "env": [
          {
            "PYTHON": "python"
          }
        ]
      },
      {
        "name": "Linux | arm64 | Python 3.11",
        "python": "3.11",
        "services": [
          "docker"
        ],
        "arch": "arm64-graviton2",
        "group": "edge",
        "virt": "vm",
        "env": [
          {
            "PYTHON": "python"
          }
        ],
        "addons": {
          "apt": {
            "sources": [
              {
                "sourceline": "deb https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable"
              }
            ],
            "packages": [
              "docker-ce docker-ce-cli containerd.io"
            ]
          }
        }
      },
      {
        "name": "Linux | ppc64le | Python 3.11",
        "python": "3.11",
        "services": [
          "docker"
        ],
        "arch": "ppc64le",
        "allow_failure": true,
        "env": [
          {
            "PYTHON": "python"
          },
          {
            "PYTEST_ADDOPTS": "'-k \"not test_manylinuxXXXX_only\"'"
          }
        ]
      },
      {
        "name": "Windows | x86_64 | Python 3.11",
        "os": "windows",
        "language": "shell",
        "before_install": [
          "choco upgrade python3 -y --version 3.11.9 --limit-output --params \"/InstallDir:C:\\\\Python311\""
        ],
        "env": [
          {
            "PYTHON": "C:\\\\Python311\\\\python"
          }
        ]
      },
      {
        "name": "Linux | s390x | Python 3.11",
        "python": "3.11",
        "services": [
          "docker"
        ],
        "arch": "s390x",
        "allow_failure": true,
        "env": [
          {
            "PYTHON": "python"
          }
        ]
      }
    ]
  },
  "install": [
    "if [ \"${TRAVIS_OS_NAME}\" == \"linux\" ]; then docker run --rm --privileged docker.io/tonistiigi/binfmt:latest --install all; fi",
    "$PYTHON -m pip install -U pip dependency-groups",
    "$PYTHON -m dependency_groups test | xargs $PYTHON -m pip install -e."
  ],
  "script": [
    "# travis_wait disable the output while waiting\n# use the same kind of tricks as in multibuild\n(while true; do echo \"travis_keep_alive\"; sleep 300; done) &\nSPINNER_PID=$!\ndisown\nresult=0\n$PYTHON ./bin/run_tests.py --num-processes 2 || result=1\nkill -9 ${SPINNER_PID}\ntest ${result} -eq 0"
  ]
}