From 86aa6c468f2ab670f76ab2b2ed89bc5d314dc275 Mon Sep 17 00:00:00 2001 From: WrathfulSpatula Date: Mon, 18 Nov 2024 10:01:53 -0500 Subject: [PATCH] Mac 12 runners are deprecated --- .github/workflows/build-cpu-only.yml | 54 --------------------------- .github/workflows/build.yml | 56 ---------------------------- 2 files changed, 110 deletions(-) diff --git a/.github/workflows/build-cpu-only.yml b/.github/workflows/build-cpu-only.yml index 3165ac5..b523f79 100644 --- a/.github/workflows/build-cpu-only.yml +++ b/.github/workflows/build-cpu-only.yml @@ -213,60 +213,6 @@ jobs: name: pyqrack-${{ matrix.platform }} path: dist/ - build_mac_12: - runs-on: macos-12 # Use a Mac OS runner - strategy: - matrix: - platform: - - macosx_12_0_x86_64 - steps: - - name: Checkout PyQrack - uses: actions/checkout@v4 - - - name: Checkout Qrack - uses: actions/checkout@v4 - with: - repository: 'unitaryfund/qrack' - path: qrack - - - name: Set up Python - uses: actions/setup-python@v5 - with: - python-version: '3.10' - - - name: Install Python Dependencies - run: | - python -m pip install --upgrade pip - python -m pip install wheel setuptools - - - name: Install Homebrew (MacOS) - uses: Homebrew/actions/setup-homebrew@master - - - name: Prepare Build Environment (MacOS) - run: | - brew upgrade rustup - brew install cmake - - - name: Build Qrack MacOS - run: | - cd qrack - mkdir build - cd build - cmake -DQBCAPPOW=7 -DCPP_STD=14 -DENABLE_RDRAND=OFF -DENABLE_OPENCL=OFF .. - make qrack_pinvoke - - - name: Build Wheel - run: | - mkdir pyqrack/qrack_system/qrack_lib - cp qrack/build/libqrack_pinvoke.* pyqrack/qrack_system/qrack_lib/ - python setup.py bdist_wheel --plat-name=${{ matrix.platform }} - - - name: Upload Artifacts - uses: actions/upload-artifact@v4 - with: - name: pyqrack-${{ matrix.platform }} - path: dist/ - build_windows: runs-on: windows-latest # Use a Linux runner strategy: diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index c583732..768cede 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -329,62 +329,6 @@ jobs: name: pyqrack-${{ matrix.platform }} path: dist/ - build_mac_12: - runs-on: macos-12 # Use a Mac OS runner - strategy: - matrix: - platform: - - macosx_12_0_x86_64 - steps: - - name: Checkout PyQrack - uses: actions/checkout@v4 - - - name: Checkout Qrack - uses: actions/checkout@v4 - with: - repository: 'unitaryfund/qrack' - path: qrack - - - name: Set up Python - uses: actions/setup-python@v5 - with: - python-version: '3.10' - - - name: Install Python Dependencies - run: | - python -m pip install --upgrade pip - python -m pip install wheel setuptools - - - name: Install Homebrew (MacOS) - uses: Homebrew/actions/setup-homebrew@master - - - name: Prepare Build Environment (MacOS) - run: | - brew upgrade rustup - brew install cmake opencl-clhpp-headers - - - name: Build Qrack MacOS - run: | - cd qrack - mkdir build - cd build - cmake -DQBCAPPOW=7 -DCPP_STD=14 -DENABLE_RDRAND=OFF -DCMAKE_CXX_FLAGS=-isystem\ /usr/local/opt/opencl-clhpp-headers/include .. - make qrack_pinvoke qrack_cl_precompile - - - name: Build Wheel - run: | - mkdir pyqrack/qrack_system/qrack_lib - mkdir pyqrack/qrack_system/qrack_cl_precompile - cp qrack/build/libqrack_pinvoke.* pyqrack/qrack_system/qrack_lib/ - cp qrack/build/qrack_cl_precompile pyqrack/qrack_system/qrack_cl_precompile/ - python setup.py bdist_wheel --plat-name=${{ matrix.platform }} - - - name: Upload Artifacts - uses: actions/upload-artifact@v4 - with: - name: pyqrack-${{ matrix.platform }} - path: dist/ - build_windows: runs-on: windows-latest # Use a Linux runner strategy: