Skip to content

Commit

Permalink
revert files except for README
Browse files Browse the repository at this point in the history
  • Loading branch information
doichanj committed Apr 25, 2024
2 parents 660a303 + 6f04eb8 commit 0d8f14e
Show file tree
Hide file tree
Showing 6 changed files with 32 additions and 36 deletions.
28 changes: 13 additions & 15 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,13 @@ jobs:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: ["macos-13", "ubuntu-latest", "windows-2019"]
os: ["macOS-latest", "ubuntu-latest", "windows-2019"]
steps:
- uses: actions/checkout@v4
- name: Set up Python '3.10'
- name: Set up Python 3.8
uses: actions/setup-python@v5
with:
python-version: '3.10'
python-version: 3.8
- name: Install deps
run: pip install "conan<2.0.0"
- name: Install openblas
Expand Down Expand Up @@ -74,10 +74,10 @@ jobs:
os: ["ubuntu-latest"]
steps:
- uses: actions/checkout@v4
- name: Set up Python '3.10'
- name: Set up Python 3.8
uses: actions/setup-python@v5
with:
python-version: '3.10'
python-version: 3.8
- name: Install deps
run: pip install "conan<2.0.0"
- name: Install openblas and mpi
Expand Down Expand Up @@ -121,13 +121,13 @@ jobs:
needs: ["standalone"]
strategy:
matrix:
os: ["macos-13", "ubuntu-latest", "windows-2019"]
os: ["macOS-latest", "ubuntu-latest", "windows-2019"]
steps:
- uses: actions/checkout@v4
- name: Set up Python Python '3.10'
- name: Set up Python Python 3.8
uses: actions/setup-python@v5
with:
python-version: '3.10'
python-version: 3.8
- name: Add msbuild to PATH
uses: microsoft/setup-msbuild@v2
if: runner.os == 'Windows'
Expand All @@ -136,7 +136,6 @@ jobs:
- name: Build Wheels
env:
AER_CMAKE_OPENMP_BUILD: 1
CIBW_TEST_SKIP: "cp38-macosx_arm64 cp39-macosx_arm64"
run: cibuildwheel --output-dir wheelhouse
- uses: actions/upload-artifact@v4
with:
Expand All @@ -146,19 +145,18 @@ jobs:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: ["macos-13"]
os: ["macOS-latest"]
steps:
- uses: actions/checkout@v4
- name: Set up Python Python 3.10
- name: Set up Python Python 3.8
uses: actions/setup-python@v5
with:
python-version: '3.10'
python-version: 3.8
- name: Install deps
run: python -m pip install -U cibuildwheel==2.17.0
- name: Build Wheels
env:
CIBW_ARCHS_MACOS: arm64
CIBW_TEST_SKIP: "cp38* cp39*"
run: cibuildwheel --output-dir wheelhouse
- uses: actions/upload-artifact@v4
with:
Expand All @@ -180,7 +178,7 @@ jobs:
- uses: actions/setup-python@v5
name: Install Python
with:
python-version: '3.10'
python-version: '3.8'
- name: Install cibuildwheel
run: |
python -m pip install cibuildwheel==2.17.0
Expand Down Expand Up @@ -213,7 +211,7 @@ jobs:
- uses: actions/setup-python@v5
name: Install Python
with:
python-version: '3.10'
python-version: '3.8'
- name: Install cibuildwheel
run: |
python -m pip install cibuildwheel==2.17.0
Expand Down
24 changes: 11 additions & 13 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,22 +8,21 @@ jobs:
name: Build qiskit-aer wheels
strategy:
matrix:
os: ["macos-13", "ubuntu-latest", "windows-2019"]
os: ["macOS-latest", "ubuntu-latest", "windows-2019"]
runs-on: ${{ matrix.os }}
environment: release
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
name: Install Python
with:
python-version: '3.10'
python-version: '3.8'
- name: Install cibuildwheel
run: |
python -m pip install cibuildwheel==2.17.0
- name: Build wheels
env:
AER_CMAKE_OPENMP_BUILD: 1
CIBW_TEST_SKIP: "cp38-macosx_arm64 cp39-macosx_arm64"
run: python -m cibuildwheel --output-dir wheelhouse
- uses: actions/upload-artifact@v4
with:
Expand All @@ -44,7 +43,7 @@ jobs:
- uses: actions/setup-python@v4
name: Install Python
with:
python-version: '3.10'
python-version: '3.8'
- uses: actions-rs/toolchain@v1
with:
toolchain: stable
Expand Down Expand Up @@ -74,20 +73,19 @@ jobs:
strategy:
fail-fast: false
matrix:
os: ["macos-13"]
os: ["macOS-latest"]
environment: release
steps:
- uses: actions/checkout@v4
- name: Set up Python Python '3.10'
- name: Set up Python Python 3.8
uses: actions/setup-python@v5
with:
python-version: '3.10'
python-version: 3.8
- name: Install deps
run: python -m pip install -U cibuildwheel==2.17.0
- name: Build Wheels
env:
CIBW_ARCHS_MACOS: arm64
CIBW_TEST_SKIP: "cp38* cp39*"
run: cibuildwheel --output-dir wheelhouse
- uses: actions/upload-artifact@v3
with:
Expand All @@ -105,7 +103,7 @@ jobs:
- uses: actions/setup-python@v4
name: Install Python
with:
python-version: '3.10'
python-version: '3.8'
- name: Install Deps
run: pip install -U scikit-build wheel
- name: Build Artifacts
Expand Down Expand Up @@ -142,7 +140,7 @@ jobs:
- uses: actions/setup-python@v5
name: Install Python
with:
python-version: '3.10'
python-version: '3.8'
- name: Install cibuildwheel
run: |
python -m pip install cibuildwheel==2.17.0
Expand Down Expand Up @@ -185,7 +183,7 @@ jobs:
- uses: actions/setup-python@v5
name: Install Python
with:
python-version: '3.10'
python-version: '3.8'
- name: Install cibuildwheel
run: |
python -m pip install cibuildwheel==2.17.0
Expand Down Expand Up @@ -220,7 +218,7 @@ jobs:
- uses: actions/setup-python@v5
name: Install Python
with:
python-version: '3.10'
python-version: '3.8'
- uses: actions-rs/toolchain@v1
with:
toolchain: stable
Expand Down Expand Up @@ -256,7 +254,7 @@ jobs:
- uses: actions/setup-python@v5
name: Install Python
with:
python-version: '3.10'
python-version: '3.8'
- uses: actions-rs/toolchain@v1
with:
toolchain: stable
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/docs-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: '3.10'
python-version: '3.8'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
timeout-minutes: 60
strategy:
matrix:
python-version: ['3.10']
python-version: [3.8]
steps:
- uses: actions/checkout@v4
with:
Expand Down Expand Up @@ -50,7 +50,7 @@ jobs:
needs: [docs]
strategy:
matrix:
python-version: ['3.10']
python-version: [3.8]
steps:
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ['3.10']
python-version: [3.8]
steps:
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
Expand Down Expand Up @@ -147,7 +147,7 @@ jobs:
timeout-minutes: 60
strategy:
matrix:
python-version: ['3.10']
python-version: [3.9]
os: ["ubuntu-latest"]
env:
AER_THRUST_BACKEND: OMP
Expand Down Expand Up @@ -192,13 +192,13 @@ jobs:
stestr run --slowest
shell: bash
tests_macos:
runs-on: macos-13
runs-on: macOS-latest
name: macOS Python ${{ matrix.python-version }}
needs: [sdist, lint]
timeout-minutes: 60
strategy:
matrix:
python-version: ["3.10", '3.11', "3.12.0"]
python-version: [3.8, 3.9, "3.10", '3.11', "3.12.0"]
env:
AER_THRUST_BACKEND: OMP
QISKIT_TEST_CAPTURE_STREAMS: 1
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ build-backend = "setuptools.build_meta"
[tool.cibuildwheel]
manylinux-x86_64-image = "manylinux2014"
manylinux-i686-image = "manylinux2014"
skip = "pp* cp36* cp37* *musllinux*"
skip = "pp* cp36* cp37* *musllinux* cp38-macosx_arm64"
test-skip = "cp3*-win32 cp3*-manylinux_i686"
test-command = "python {project}/tools/verify_wheels.py"
# We need to use pre-built versions of Numpy and Scipy in the tests; they have a
Expand Down

0 comments on commit 0d8f14e

Please sign in to comment.