Skip to content

Commit

Permalink
Try that
Browse files Browse the repository at this point in the history
  • Loading branch information
vincentmr committed Oct 12, 2023
1 parent 6bea267 commit a3ced39
Showing 1 changed file with 4 additions and 15 deletions.
19 changes: 4 additions & 15 deletions .github/workflows/wheel_linux_x86_64_cu11.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Wheel::Linux::x86_64
name: Wheel::Linux::x86_64::CUDA-11

# **What it does**: Builds python wheels for Linux (ubuntu-latest) architecture x86_64 and store it as artifacts.
# Python versions: 3.9, 3.10, 3.11.
Expand All @@ -14,6 +14,7 @@ on:
branches:
- master
release:
types: [published]

concurrency:
group: wheel_linux_x86_64_cu11-${{ github.ref }}
Expand Down Expand Up @@ -42,31 +43,19 @@ jobs:
container: ${{ matrix.container_img }}

steps:
- name: Cancel Previous Runs
uses: styfle/[email protected]
with:
access_token: ${{ github.token }}

- name: Checkout PennyLane-Lightning-GPU
- name: Checkout PennyLane-Lightning
uses: actions/checkout@v3

- name: Setup Python
uses: actions/setup-python@v4
with:
python-version: '3.9'

- name: Install dependencies (CentOS)
if: ${{ (matrix.container_img == 'quay.io/pypa/manylinux2014_x86_64') }}
run: |
# Reduce wait time for repos not responding
cat /etc/yum.conf | sed "s/\[main\]/\[main\]\ntimeout=5/g" > /etc/yum.conf
yum update -y && yum install -y docker
yum install -y devtoolset-$GCC_VERSION-gcc-c++
yum install -y cmake ninja-build
echo "COMPILER=g++" >> $GITHUB_ENV
- name: Install cibuildwheel
run: python -m pip install cibuildwheel~=2.11.0
run: python3.9 -m pip install cibuildwheel~=2.11.0

- name: Build wheels
env:
Expand Down

0 comments on commit a3ced39

Please sign in to comment.