diff --git a/.github/workflows/lua.yml b/.github/workflows/lua.yml index 098c8a8..fdf21f5 100644 --- a/.github/workflows/lua.yml +++ b/.github/workflows/lua.yml @@ -26,7 +26,7 @@ jobs: steps: - uses: actions/checkout@v4 - run: rustup update stable && rustup default stable - - uses: arduino/setup-protoc@v2 + - uses: arduino/setup-protoc@v3 - run: cargo build --release --features=lua - uses: actions/upload-artifact@v4 with: @@ -49,7 +49,7 @@ jobs: steps: - uses: actions/checkout@v4 - run: rustup update stable && rustup default stable - - uses: arduino/setup-protoc@v2 + - uses: arduino/setup-protoc@v3 - run: cargo build --release --features=lua - uses: actions/upload-artifact@v4 with: @@ -68,7 +68,7 @@ jobs: steps: - uses: actions/checkout@v4 - run: rustup update stable && rustup default stable - - uses: arduino/setup-protoc@v2 + - uses: arduino/setup-protoc@v3 - run: cargo build --release --features=lua - uses: actions/upload-artifact@v4 with: @@ -87,7 +87,7 @@ jobs: steps: - uses: actions/checkout@v4 - run: rustup update stable && rustup default stable - - uses: arduino/setup-protoc@v2 + - uses: arduino/setup-protoc@v3 - run: cargo build --release --features=lua - uses: actions/upload-artifact@v4 with: diff --git a/.github/workflows/python.yml b/.github/workflows/python.yml index 379c009..b1bad79 100644 --- a/.github/workflows/python.yml +++ b/.github/workflows/python.yml @@ -28,22 +28,19 @@ jobs: target: aarch64 - runner: ubuntu-latest target: armv7 - - runner: ubuntu-latest - target: s390x - - runner: ubuntu-latest - target: ppc64le steps: - uses: actions/checkout@v4 - run: rustup update stable && rustup default stable - - uses: arduino/setup-protoc@v2 + - uses: arduino/setup-protoc@v3 - uses: actions/setup-python@v5 with: python-version: 3.x - name: Build wheels uses: PyO3/maturin-action@v1 + working-directory: dist/py with: target: ${{ matrix.platform.target }} - args: --release --out dist/py + args: --release --out . sccache: 'true' manylinux: auto - name: Upload wheels @@ -68,15 +65,16 @@ jobs: steps: - uses: actions/checkout@v4 - run: rustup update stable && rustup default stable - - uses: arduino/setup-protoc@v2 + - uses: arduino/setup-protoc@v3 - uses: actions/setup-python@v5 with: python-version: 3.x - name: Build wheels uses: PyO3/maturin-action@v1 + working-directory: dist/py with: target: ${{ matrix.platform.target }} - args: --release --out dist/py + args: --release --out . sccache: 'true' manylinux: musllinux_1_2 - name: Upload wheels @@ -97,16 +95,17 @@ jobs: steps: - uses: actions/checkout@v4 - run: rustup update stable && rustup default stable - - uses: arduino/setup-protoc@v2 + - uses: arduino/setup-protoc@v3 - uses: actions/setup-python@v5 with: python-version: 3.x architecture: ${{ matrix.platform.target }} - name: Build wheels uses: PyO3/maturin-action@v1 + working-directory: dist/py with: target: ${{ matrix.platform.target }} - args: --release --out dist/py + args: --release --out . sccache: 'true' - name: Upload wheels uses: actions/upload-artifact@v4 @@ -126,15 +125,16 @@ jobs: steps: - uses: actions/checkout@v4 - run: rustup update stable && rustup default stable - - uses: arduino/setup-protoc@v2 + - uses: arduino/setup-protoc@v3 - uses: actions/setup-python@v5 with: python-version: 3.x - name: Build wheels uses: PyO3/maturin-action@v1 + working-directory: dist/py with: target: ${{ matrix.platform.target }} - args: --release --out dist/py + args: --release --out . sccache: 'true' - name: Upload wheels uses: actions/upload-artifact@v4 @@ -148,9 +148,10 @@ jobs: - uses: actions/checkout@v4 - name: Build sdist uses: PyO3/maturin-action@v1 + working-directory: dist/py with: command: sdist - args: --out dist/py + args: --out . - name: Upload sdist uses: actions/upload-artifact@v4 with: diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index a13ac11..9693d45 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -30,7 +30,7 @@ jobs: # - nightly # TODO should re-enable future toolchains so we get warnings on breaking changes steps: - - uses: arduino/setup-protoc@v2 + - uses: arduino/setup-protoc@v3 - uses: actions/checkout@v3 - run: rustup update ${{ matrix.toolchain }} && rustup default ${{ matrix.toolchain }} - run: cargo build --verbose --features=${{ matrix.features }}