From 988e443e787b00a2059d3df2eac959c07f5f191e Mon Sep 17 00:00:00 2001 From: alemi Date: Mon, 9 Sep 2024 17:36:53 +0200 Subject: [PATCH] ci: fix python format, toggle many targets lets save up some github credits for now --- .github/workflows/lua.yml | 32 +++++++++++++-------------- .github/workflows/python.yml | 42 ++++++++++++++++++------------------ 2 files changed, 37 insertions(+), 37 deletions(-) diff --git a/.github/workflows/lua.yml b/.github/workflows/lua.yml index fdf21f5..e61c331 100644 --- a/.github/workflows/lua.yml +++ b/.github/workflows/lua.yml @@ -17,12 +17,12 @@ jobs: platform: - runner: ubuntu-latest target: x64 - - runner: ubuntu-latest - target: x86 - - runner: ubuntu-latest - target: aarch64 - - runner: ubuntu-latest - target: armv7 + #- runner: ubuntu-latest + # target: x86 + #- runner: ubuntu-latest + # target: aarch64 + #- runner: ubuntu-latest + # target: armv7 steps: - uses: actions/checkout@v4 - run: rustup update stable && rustup default stable @@ -38,14 +38,14 @@ jobs: strategy: matrix: platform: - - runner: ubuntu-latest - target: x86_64 - - runner: ubuntu-latest - target: x86 + #- runner: ubuntu-latest + # target: x86_64 + #- runner: ubuntu-latest + # target: x86 - runner: ubuntu-latest target: aarch64 - - runner: ubuntu-latest - target: armv7 + #- runner: ubuntu-latest + # target: armv7 steps: - uses: actions/checkout@v4 - run: rustup update stable && rustup default stable @@ -63,8 +63,8 @@ jobs: platform: - runner: windows-latest target: x64 - - runner: windows-latest - target: x86 + #- runner: windows-latest + # target: x86 steps: - uses: actions/checkout@v4 - run: rustup update stable && rustup default stable @@ -80,8 +80,8 @@ jobs: strategy: matrix: platform: - - runner: macos-12 - target: x64 + #- runner: macos-12 + # target: x64 - runner: macos-14 target: aarch64 steps: diff --git a/.github/workflows/python.yml b/.github/workflows/python.yml index b1bad79..ff24a0f 100644 --- a/.github/workflows/python.yml +++ b/.github/workflows/python.yml @@ -22,12 +22,12 @@ jobs: platform: - runner: ubuntu-latest target: x86_64 - - runner: ubuntu-latest - target: x86 - - runner: ubuntu-latest - target: aarch64 - - runner: ubuntu-latest - target: armv7 + #- runner: ubuntu-latest + # target: x86 + #- runner: ubuntu-latest + # target: aarch64 + #- runner: ubuntu-latest + # target: armv7 steps: - uses: actions/checkout@v4 - run: rustup update stable && rustup default stable @@ -37,8 +37,8 @@ jobs: python-version: 3.x - name: Build wheels uses: PyO3/maturin-action@v1 - working-directory: dist/py with: + working-directory: dist/py target: ${{ matrix.platform.target }} args: --release --out . sccache: 'true' @@ -54,14 +54,14 @@ jobs: strategy: matrix: platform: - - runner: ubuntu-latest - target: x86_64 - - runner: ubuntu-latest - target: x86 + #- runner: ubuntu-latest + # target: x86_64 + #- runner: ubuntu-latest + # target: x86 - runner: ubuntu-latest target: aarch64 - - runner: ubuntu-latest - target: armv7 + #- runner: ubuntu-latest + # target: armv7 steps: - uses: actions/checkout@v4 - run: rustup update stable && rustup default stable @@ -71,8 +71,8 @@ jobs: python-version: 3.x - name: Build wheels uses: PyO3/maturin-action@v1 - working-directory: dist/py with: + working-directory: dist/py target: ${{ matrix.platform.target }} args: --release --out . sccache: 'true' @@ -90,8 +90,8 @@ jobs: platform: - runner: windows-latest target: x64 - - runner: windows-latest - target: x86 + #- runner: windows-latest + # target: x86 steps: - uses: actions/checkout@v4 - run: rustup update stable && rustup default stable @@ -102,8 +102,8 @@ jobs: architecture: ${{ matrix.platform.target }} - name: Build wheels uses: PyO3/maturin-action@v1 - working-directory: dist/py with: + working-directory: dist/py target: ${{ matrix.platform.target }} args: --release --out . sccache: 'true' @@ -118,8 +118,8 @@ jobs: strategy: matrix: platform: - - runner: macos-12 - target: x86_64 + #- runner: macos-12 + # target: x86_64 - runner: macos-14 target: aarch64 steps: @@ -131,8 +131,8 @@ jobs: python-version: 3.x - name: Build wheels uses: PyO3/maturin-action@v1 - working-directory: dist/py with: + working-directory: dist/py target: ${{ matrix.platform.target }} args: --release --out . sccache: 'true' @@ -148,8 +148,8 @@ jobs: - uses: actions/checkout@v4 - name: Build sdist uses: PyO3/maturin-action@v1 - working-directory: dist/py with: + working-directory: dist/py command: sdist args: --out . - name: Upload sdist