diff --git a/.github/workflows/wheels.yml b/.github/workflows/wheels.yml index a3d9ddb..ec0b0b9 100644 --- a/.github/workflows/wheels.yml +++ b/.github/workflows/wheels.yml @@ -13,75 +13,75 @@ env: jobs: build: - name: ${{ matrix.python }} ${{ matrix.os-name }} ${{ matrix.arch == 'x86' && 'x86_64' || matrix.os == 'macos-11' && 'arm64' || 'aarch64' }} + name: ${{ matrix.python }} ${{ matrix.os-name }} ${{ matrix.arch == 'x86' && 'x86_64' || matrix.os == 'macos-latest' && 'arm64' || 'aarch64' }} runs-on: ${{ matrix.os }} strategy: fail-fast: false matrix: - os: [ "ubuntu-20.04", "macos-11" ] + os: [ "ubuntu-latest", "macos-latest" ] python: [ "2.7", "3.7", "3.8", "3.9", "3.10", "3.11", "3.12" ] arch: [ "x86", "arm" ] manylinux-version: [ "2014" ] mb-ml-libc: [ "manylinux" ] exclude: - python: "2.7" - os: "ubuntu-20.04" + os: "ubuntu-latest" manylinux-version: "2014" - python: "3.7" - os: "ubuntu-20.04" + os: "ubuntu-latest" manylinux-version: "2014" - python: "2.7" - os: "ubuntu-20.04" + os: "ubuntu-latest" arch: "arm" include: - - os: "ubuntu-20.04" + - os: "ubuntu-latest" python: "2.7" arch: "x86" manylinux-version: "2010" os-name: "manylinux2010" - - os: "ubuntu-20.04" + - os: "ubuntu-latest" python: "3.7" arch: "x86" manylinux-version: "2010" os-name: "manylinux2010" - - os: "macos-11" + - os: "macos-latest" os-name: "osx" - - os: "ubuntu-20.04" + - os: "ubuntu-latest" manylinux-version: "2014" os-name: "manylinux2014" - python: "3.8" arch: "x86" mb-ml-libc: "musllinux" - os: "ubuntu-20.04" + os: "ubuntu-latest" os-name: "musllinux" manylinux-version: "_1_1" - python: "3.9" arch: "x86" mb-ml-libc: "musllinux" - os: "ubuntu-20.04" + os: "ubuntu-latest" os-name: "musllinux" manylinux-version: "_1_1" - python: "3.10" arch: "x86" mb-ml-libc: "musllinux" - os: "ubuntu-20.04" + os: "ubuntu-latest" os-name: "musllinux" manylinux-version: "_1_1" - python: "3.11" arch: "x86" mb-ml-libc: "musllinux" - os: "ubuntu-20.04" + os: "ubuntu-latest" os-name: "musllinux" manylinux-version: "_1_1" - python: "3.12" arch: "x86" mb-ml-libc: "musllinux" - os: "ubuntu-20.04" + os: "ubuntu-latest" os-name: "musllinux" manylinux-version: "_1_1" env: BUILD_COMMIT: HEAD - PLAT: ${{ matrix.arch == 'x86' && 'x86_64' || matrix.os == 'macos-11' && 'arm64' || 'aarch64' }} + PLAT: ${{ matrix.arch == 'x86' && 'x86_64' || matrix.os == 'macos-latest' && 'arm64' || 'aarch64' }} MB_PYTHON_VERSION: ${{ matrix.python }} TRAVIS_OS_NAME: ${{ matrix.os-name }} MB_ML_VER: ${{ matrix.manylinux-version }} @@ -111,7 +111,7 @@ jobs: - name: Set up QEMU uses: docker/setup-qemu-action@v2 - if: ${{ matrix.os == 'ubuntu-20.04' && matrix.arch == 'arm' }} + if: ${{ matrix.os == 'ubuntu-latest' && matrix.arch == 'arm' }} - name: Setup env_vars run: | @@ -323,7 +323,7 @@ jobs: success: needs: [build, windows] - runs-on: ubuntu-20.04 + runs-on: ubuntu-latest name: Build Successful steps: - name: Success @@ -331,7 +331,7 @@ jobs: release: name: Create Release - runs-on: ubuntu-20.04 + runs-on: ubuntu-latest if: "startsWith(github.ref, 'refs/tags/')" needs: [build, windows] steps: