Disable Linux for now

This commit is contained in:
Chris Tsang
2023-09-16 18:27:03 +01:00
parent f5cce867f2
commit 68e8e7fdf1

View File

@@ -16,28 +16,28 @@ permissions:
contents: read contents: read
jobs: jobs:
linux: # linux:
runs-on: ubuntu-latest # runs-on: ubuntu-latest
strategy: # strategy:
matrix: # matrix:
target: [x86_64, x86, aarch64, armv7, s390x, ppc64le] # target: [x86_64, x86, aarch64, armv7, s390x, ppc64le]
steps: # steps:
- uses: actions/checkout@v3 # - uses: actions/checkout@v3
- uses: actions/setup-python@v4 # - uses: actions/setup-python@v4
with: # with:
python-version: '3.10' # python-version: '3.10'
- name: Build wheels # - name: Build wheels
uses: PyO3/maturin-action@v1 # uses: PyO3/maturin-action@v1
with: # with:
target: ${{ matrix.target }} # target: ${{ matrix.target }}
args: -m cmdapp/Cargo.toml --release --features=python-binding --out dist --find-interpreter # args: -m cmdapp/Cargo.toml --release --features=python-binding --out dist --find-interpreter
sccache: 'true' # sccache: 'true'
manylinux: auto # manylinux: auto
- name: Upload wheels # - name: Upload wheels
uses: actions/upload-artifact@v3 # uses: actions/upload-artifact@v3
with: # with:
name: wheels # name: wheels
path: dist # path: dist
windows: windows:
runs-on: windows-latest runs-on: windows-latest
@@ -108,7 +108,7 @@ jobs:
# IMPORTANT: this permission is mandatory for trusted publishing # IMPORTANT: this permission is mandatory for trusted publishing
id-token: write id-token: write
if: "startsWith(github.ref, 'refs/tags/')" if: "startsWith(github.ref, 'refs/tags/')"
needs: [linux, windows, macos, sdist] needs: [windows, macos, sdist]
steps: steps:
- uses: actions/download-artifact@v3 - uses: actions/download-artifact@v3
with: with:
@@ -118,4 +118,4 @@ jobs:
with: with:
command: upload command: upload
args: --non-interactive --skip-existing * args: --non-interactive --skip-existing *
manylinux: auto # manylinux: auto