Skip to content

Commit

Permalink
Temporarily switch from ubuntu-latest to ubuntu-22.04 until the fail …
Browse files Browse the repository at this point in the history
…caused from ubuntu-latest is better understood
  • Loading branch information
gadial committed Jan 2, 2025
1 parent d2fe41e commit 62dec90
Show file tree
Hide file tree
Showing 5 changed files with 19 additions and 19 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: ["macos-13", "ubuntu-latest", "windows-2019"]
os: ["macos-13", "ubuntu-22.04", "windows-2019"]
steps:
- uses: actions/checkout@v4
- name: Set up Python Python '3.10'
Expand Down Expand Up @@ -55,7 +55,7 @@ jobs:
path: ./wheelhouse/*.whl
name: artifact-${{ github.job }}
wheel-gpu-cu11:
runs-on: "ubuntu-latest"
runs-on: "ubuntu-22.04"
steps:
- name: Maximize build space
uses: easimon/maximize-build-space@master
Expand Down Expand Up @@ -88,7 +88,7 @@ jobs:
path: ./wheelhouse/*.whl
name: artifact-${{ github.job }}
wheel-gpu-cu12:
runs-on: "ubuntu-latest"
runs-on: "ubuntu-22.04"
steps:
- name: Maximize build space
uses: easimon/maximize-build-space@master
Expand Down Expand Up @@ -121,7 +121,7 @@ jobs:
path: ./wheelhouse/*.whl
name: artifact-${{ github.job }}
wheel-gpu:
runs-on: "ubuntu-latest"
runs-on: "ubuntu-22.04"
steps:
- name: Maximize build space
uses: easimon/maximize-build-space@master
Expand Down
16 changes: 8 additions & 8 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ jobs:
name: Build qiskit-aer wheels
strategy:
matrix:
os: ["macos-13", "ubuntu-latest", "windows-2019"]
os: ["macos-13", "ubuntu-22.04", "windows-2019"]
runs-on: ${{ matrix.os }}
environment: release
steps:
Expand Down Expand Up @@ -37,7 +37,7 @@ jobs:
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest]
os: [ubuntu-22.04]
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
Expand Down Expand Up @@ -90,7 +90,7 @@ jobs:
name: publish-shared-wheels
sdist:
name: Publish qiskit-aer sdist
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
needs: [publish-shared-wheels]
environment: release
permissions:
Expand Down Expand Up @@ -118,7 +118,7 @@ jobs:
name: Build qiskit-aer-gpu-cu11 wheels
strategy:
matrix:
os: ["ubuntu-latest"]
os: ["ubuntu-22.04"]
runs-on: ${{ matrix.os }}
environment: release
permissions:
Expand Down Expand Up @@ -162,7 +162,7 @@ jobs:
name: Build qiskit-aer-gpu-cu12 wheels
strategy:
matrix:
os: ["ubuntu-latest"]
os: ["ubuntu-22.04"]
runs-on: ${{ matrix.os }}
environment: release
permissions:
Expand Down Expand Up @@ -211,7 +211,7 @@ jobs:
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest]
os: [ubuntu-22.04]
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
Expand Down Expand Up @@ -247,7 +247,7 @@ jobs:
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest]
os: [ubuntu-22.04]
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
Expand Down Expand Up @@ -276,7 +276,7 @@ jobs:
packages-dir: wheelhouse
publish-shared-wheels:
name: Publish shared wheels
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
needs: [wheel-build, wheel-arm64-macos]
environment: release
permissions:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ concurrency:
cancel-in-progress: true
jobs:
docs:
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
timeout-minutes: 60
strategy:
matrix:
Expand Down Expand Up @@ -46,7 +46,7 @@ jobs:
name: html_docs
path: docs/_build/html
tutorials:
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
needs: [docs]
strategy:
matrix:
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ concurrency:
cancel-in-progress: true
jobs:
lint:
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
strategy:
matrix:
python-version: ['3.10']
Expand Down Expand Up @@ -51,7 +51,7 @@ jobs:
matrix:
python-version: [3.8, 3.9, "3.10", '3.11', "3.12.0"]
platform: [
{ os: "ubuntu-latest", python-architecture: "x64" },
{ os: "ubuntu-22.04", python-architecture: "x64" },
]
steps:
- uses: actions/checkout@v4
Expand Down Expand Up @@ -87,7 +87,7 @@ jobs:
aer-test/bin/pip check
shell: bash
tests_linux:
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
name: Linux Python ${{ matrix.python-version }}${{ matrix.qiskit-extra && format(' ({0})', matrix.qiskit-extra) }}
needs: [sdist, lint]
timeout-minutes: 60
Expand Down Expand Up @@ -148,7 +148,7 @@ jobs:
strategy:
matrix:
python-version: ['3.10']
os: ["ubuntu-latest"]
os: ["ubuntu-22.04"]
env:
AER_THRUST_BACKEND: OMP
QISKIT_TEST_CAPTURE_STREAMS: 1
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/unit-tests-latest-qiskit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ concurrency:
cancel-in-progress: true
jobs:
unit-tests-latest-qiskit:
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
timeout-minutes: 60
env:
AER_THRUST_BACKEND: OMP
Expand Down

0 comments on commit 62dec90

Please sign in to comment.