From 0c2b4784f8219f8a047cf0514e2767f505436c6a Mon Sep 17 00:00:00 2001 From: Lin Zhou Date: Tue, 30 Jul 2024 08:51:12 +0800 Subject: [PATCH 01/15] add kernel-release.yml --- .github/workflows/kernel-release.yml | 103 +++++++++++++++++++++++++++ 1 file changed, 103 insertions(+) create mode 100644 .github/workflows/kernel-release.yml diff --git a/.github/workflows/kernel-release.yml b/.github/workflows/kernel-release.yml new file mode 100644 index 000000000..1703cb5e1 --- /dev/null +++ b/.github/workflows/kernel-release.yml @@ -0,0 +1,103 @@ +# This file is autogenerated by maturin v1.6.0 +# To update, run +# +# maturin generate-ci -m ../../python/delta-kernel-python/Cargo.toml --platform linux --pytest github +# +name: CI + +on: + push: + branches: + - main + - master + tags: + - '*' + pull_request: + workflow_dispatch: + +permissions: + contents: read + +jobs: + linux: + runs-on: ${{ matrix.platform.runner }} + strategy: + matrix: + platform: + - runner: ubuntu-latest + target: x86 + steps: + - uses: actions/checkout@v4 + - uses: actions/setup-python@v5 + with: + python-version: 3.x + - name: Build wheels + uses: PyO3/maturin-action@v1 + with: + target: ${{ matrix.platform.target }} + args: --release --out dist --manifest-path ../../python/delta-kernel-python/Cargo.toml + sccache: 'true' + manylinux: auto + env: + NODE_OPTIONS: --max_old_space_size=32768 + - name: Upload wheels + uses: actions/upload-artifact@v4 + with: + name: wheels-linux-${{ matrix.platform.target }} + path: dist + - name: pytest + if: ${{ startsWith(matrix.platform.target, 'x86_64') }} + shell: bash + run: | + set -e + python3 -m venv .venv + source .venv/bin/activate + pip install delta_kernel_python --find-links dist --force-reinstall + pip install pytest + cd ../../python/delta-kernel-python && pytest + - name: pytest + if: ${{ !startsWith(matrix.platform.target, 'x86') && matrix.platform.target != 'ppc64' }} + uses: uraimo/run-on-arch-action@v2 + with: + arch: ${{ matrix.platform.target }} + distro: ubuntu22.04 + githubToken: ${{ github.token }} + install: | + apt-get update + apt-get install -y --no-install-recommends python3 python3-pip + pip3 install -U pip pytest + run: | + set -e + pip3 install delta_kernel_python --find-links dist --force-reinstall + cd ../../python/delta-kernel-python && pytest + sdist: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - name: Build sdist + uses: PyO3/maturin-action@v1 + with: + command: sdist + args: --out dist --manifest-path ../../python/delta-kernel-python/Cargo.toml + env: + NODE_OPTIONS: --max_old_space_size=32768 + - name: Upload sdist + uses: actions/upload-artifact@v4 + with: + name: wheels-sdist + path: dist + + release: + name: Release + runs-on: ubuntu-latest + if: "startsWith(github.ref, 'refs/tags/')" + needs: [linux, sdist] + steps: + - uses: actions/download-artifact@v4 + - name: Publish to PyPI + uses: PyO3/maturin-action@v1 + env: + MATURIN_PYPI_TOKEN: ${{ secrets.PYPI_API_TOKEN }} + with: + command: upload + args: --non-interactive --skip-existing wheels-*/* From a5b808271b34c2de05097173008b84f0f815f503 Mon Sep 17 00:00:00 2001 From: Lin Zhou Date: Tue, 30 Jul 2024 21:22:43 +0800 Subject: [PATCH 02/15] working version --- .github/workflows/kernel-release.yml | 152 ++++++++++++--------------- 1 file changed, 65 insertions(+), 87 deletions(-) diff --git a/.github/workflows/kernel-release.yml b/.github/workflows/kernel-release.yml index 1703cb5e1..192b88394 100644 --- a/.github/workflows/kernel-release.yml +++ b/.github/workflows/kernel-release.yml @@ -1,103 +1,81 @@ -# This file is autogenerated by maturin v1.6.0 -# To update, run -# -# maturin generate-ci -m ../../python/delta-kernel-python/Cargo.toml --platform linux --pytest github -# -name: CI +name: Build wheels on: push: branches: - main - - master - tags: - - '*' pull_request: - workflow_dispatch: - -permissions: - contents: read + branches: + - main jobs: - linux: - runs-on: ${{ matrix.platform.runner }} + build: + runs-on: ${{ matrix.os }} strategy: matrix: - platform: - - runner: ubuntu-latest - target: x86 + os: [ubuntu-latest, macos-latest, windows-latest] + python-version: [3.8] + arch: [x86_64, arm64] + include: + - os: macos-latest + arch: x86_64 + - os: macos-latest + arch: arm64 + - os: ubuntu-latest + arch: x86_64 + - os: windows-latest + arch: x86_64 + steps: - - uses: actions/checkout@v4 - - uses: actions/setup-python@v5 - with: - python-version: 3.x - - name: Build wheels - uses: PyO3/maturin-action@v1 - with: - target: ${{ matrix.platform.target }} - args: --release --out dist --manifest-path ../../python/delta-kernel-python/Cargo.toml - sccache: 'true' - manylinux: auto - env: - NODE_OPTIONS: --max_old_space_size=32768 - - name: Upload wheels - uses: actions/upload-artifact@v4 + - uses: actions/checkout@v2 + + - name: Set up Python + uses: actions/setup-python@v2 with: - name: wheels-linux-${{ matrix.platform.target }} - path: dist - - name: pytest - if: ${{ startsWith(matrix.platform.target, 'x86_64') }} + python-version: ${{ matrix.python-version }} + + - name: Install Rust (Linux and macOS) + if: runner.os != 'Windows' + run: | + curl https://sh.rustup.rs -sSf | sh -s -- -y + source $HOME/.cargo/env shell: bash + + - name: Install maturin + run: pip install maturin + + - name: Build wheel (x86_64 macOS) + if: matrix.os == 'macos-latest' && matrix.arch == 'x86_64' run: | - set -e - python3 -m venv .venv - source .venv/bin/activate - pip install delta_kernel_python --find-links dist --force-reinstall - pip install pytest - cd ../../python/delta-kernel-python && pytest - - name: pytest - if: ${{ !startsWith(matrix.platform.target, 'x86') && matrix.platform.target != 'ppc64' }} - uses: uraimo/run-on-arch-action@v2 - with: - arch: ${{ matrix.platform.target }} - distro: ubuntu22.04 - githubToken: ${{ github.token }} - install: | - apt-get update - apt-get install -y --no-install-recommends python3 python3-pip - pip3 install -U pip pytest - run: | - set -e - pip3 install delta_kernel_python --find-links dist --force-reinstall - cd ../../python/delta-kernel-python && pytest - sdist: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v4 - - name: Build sdist - uses: PyO3/maturin-action@v1 - with: - command: sdist - args: --out dist --manifest-path ../../python/delta-kernel-python/Cargo.toml - env: - NODE_OPTIONS: --max_old_space_size=32768 - - name: Upload sdist - uses: actions/upload-artifact@v4 - with: - name: wheels-sdist - path: dist + rustup target add x86_64-apple-darwin + cd python/delta-kernel-python + maturin build --release --target x86_64-apple-darwin + shell: bash - release: - name: Release - runs-on: ubuntu-latest - if: "startsWith(github.ref, 'refs/tags/')" - needs: [linux, sdist] - steps: - - uses: actions/download-artifact@v4 - - name: Publish to PyPI - uses: PyO3/maturin-action@v1 - env: - MATURIN_PYPI_TOKEN: ${{ secrets.PYPI_API_TOKEN }} + - name: Build wheel (ARM macOS) + if: matrix.os == 'macos-latest' && matrix.arch == 'arm64' + run: | + rustup target add aarch64-apple-darwin + cd python/delta-kernel-python + maturin build --release --target aarch64-apple-darwin + shell: bash + + - name: Build wheel (Windows) + if: runner.os == 'Windows' + run: | + cd python/delta-kernel-python + maturin build --release + shell: powershell + + - name: Build wheel (Linux) + if: matrix.os == 'ubuntu-latest' + run: | + cd python/delta-kernel-python + maturin build --release + shell: bash + + - name: Upload wheels + uses: actions/upload-artifact@v2 with: - command: upload - args: --non-interactive --skip-existing wheels-*/* + name: wheels + path: python/delta-kernel-python/target/wheels/*.whl \ No newline at end of file From 04626e8e5f6e1feb338140920f3da800ab7a649f Mon Sep 17 00:00:00 2001 From: Lin Zhou Date: Tue, 30 Jul 2024 21:33:44 +0800 Subject: [PATCH 03/15] add arm linux --- .github/workflows/kernel-release.yml | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/.github/workflows/kernel-release.yml b/.github/workflows/kernel-release.yml index 192b88394..59313bbd9 100644 --- a/.github/workflows/kernel-release.yml +++ b/.github/workflows/kernel-release.yml @@ -23,6 +23,8 @@ jobs: arch: arm64 - os: ubuntu-latest arch: x86_64 + - os: ubuntu-latest + arch: aarch64 - os: windows-latest arch: x86_64 @@ -67,8 +69,15 @@ jobs: maturin build --release shell: powershell - - name: Build wheel (Linux) - if: matrix.os == 'ubuntu-latest' + - name: Build wheel (x86_64 Linux) + if: matrix.os == 'ubuntu-latest'&& matrix.arch == 'x86_64' + run: | + cd python/delta-kernel-python + maturin build --release + shell: bash + + - name: Build wheel (ARM Linux) + if: matrix.os == 'ubuntu-latest'&& matrix.arch == 'aarch64' run: | cd python/delta-kernel-python maturin build --release From 953f088aec49495e6e75fe7e18acb3e43e5eea70 Mon Sep 17 00:00:00 2001 From: Lin Zhou Date: Tue, 30 Jul 2024 21:50:11 +0800 Subject: [PATCH 04/15] change name --- .github/workflows/kernel-release.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/kernel-release.yml b/.github/workflows/kernel-release.yml index 59313bbd9..f2f98696c 100644 --- a/.github/workflows/kernel-release.yml +++ b/.github/workflows/kernel-release.yml @@ -1,4 +1,4 @@ -name: Build wheels +name: Build wheels for delta-kernel-python on: push: @@ -70,14 +70,14 @@ jobs: shell: powershell - name: Build wheel (x86_64 Linux) - if: matrix.os == 'ubuntu-latest'&& matrix.arch == 'x86_64' + if: matrix.os == 'ubuntu-latest' && matrix.arch == 'x86_64' run: | cd python/delta-kernel-python maturin build --release shell: bash - name: Build wheel (ARM Linux) - if: matrix.os == 'ubuntu-latest'&& matrix.arch == 'aarch64' + if: matrix.os == 'ubuntu-latest' && matrix.arch == 'aarch64' run: | cd python/delta-kernel-python maturin build --release From 2f4cf7a62acaa7fcdb2c528608ec7f3a39f1fdb6 Mon Sep 17 00:00:00 2001 From: Lin Zhou Date: Tue, 30 Jul 2024 21:55:35 +0800 Subject: [PATCH 05/15] change name --- .github/workflows/kernel-release.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/kernel-release.yml b/.github/workflows/kernel-release.yml index f2f98696c..b2b50bcfc 100644 --- a/.github/workflows/kernel-release.yml +++ b/.github/workflows/kernel-release.yml @@ -24,7 +24,7 @@ jobs: - os: ubuntu-latest arch: x86_64 - os: ubuntu-latest - arch: aarch64 + arch: arm64 - os: windows-latest arch: x86_64 @@ -77,7 +77,7 @@ jobs: shell: bash - name: Build wheel (ARM Linux) - if: matrix.os == 'ubuntu-latest' && matrix.arch == 'aarch64' + if: matrix.os == 'ubuntu-latest' && matrix.arch == 'arm64' run: | cd python/delta-kernel-python maturin build --release From d39df3a2a2213f897bf2cd0e15062ff8a4e302e1 Mon Sep 17 00:00:00 2001 From: Lin Zhou Date: Tue, 30 Jul 2024 22:11:58 +0800 Subject: [PATCH 06/15] add aarch64 for linux --- .github/workflows/kernel-release.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/kernel-release.yml b/.github/workflows/kernel-release.yml index b2b50bcfc..c53081a56 100644 --- a/.github/workflows/kernel-release.yml +++ b/.github/workflows/kernel-release.yml @@ -15,7 +15,7 @@ jobs: matrix: os: [ubuntu-latest, macos-latest, windows-latest] python-version: [3.8] - arch: [x86_64, arm64] + arch: [x86_64, arm64, aarch64] include: - os: macos-latest arch: x86_64 @@ -24,7 +24,7 @@ jobs: - os: ubuntu-latest arch: x86_64 - os: ubuntu-latest - arch: arm64 + arch: aarch64 - os: windows-latest arch: x86_64 From 69b92ec200283b808516f531563b54b37998e887 Mon Sep 17 00:00:00 2001 From: Lin Zhou Date: Tue, 30 Jul 2024 22:20:44 +0800 Subject: [PATCH 07/15] fix --- .github/workflows/kernel-release.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/kernel-release.yml b/.github/workflows/kernel-release.yml index c53081a56..8d2f6324a 100644 --- a/.github/workflows/kernel-release.yml +++ b/.github/workflows/kernel-release.yml @@ -76,8 +76,8 @@ jobs: maturin build --release shell: bash - - name: Build wheel (ARM Linux) - if: matrix.os == 'ubuntu-latest' && matrix.arch == 'arm64' + - name: Build wheel (aarch64 Linux) + if: matrix.os == 'ubuntu-latest' && matrix.arch == 'aarch64' run: | cd python/delta-kernel-python maturin build --release From c1b4aca4ebf2a9f3e51d2cf96bc706aceff7325e Mon Sep 17 00:00:00 2001 From: Lin Zhou Date: Wed, 31 Jul 2024 06:24:38 +0800 Subject: [PATCH 08/15] add command for linux aarch64 --- .github/workflows/kernel-release.yml | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/.github/workflows/kernel-release.yml b/.github/workflows/kernel-release.yml index 8d2f6324a..194a456ce 100644 --- a/.github/workflows/kernel-release.yml +++ b/.github/workflows/kernel-release.yml @@ -77,11 +77,15 @@ jobs: shell: bash - name: Build wheel (aarch64 Linux) - if: matrix.os == 'ubuntu-latest' && matrix.arch == 'aarch64' - run: | - cd python/delta-kernel-python - maturin build --release - shell: bash + if: matrix.os == 'ubuntu-latest' && matrix.arch == 'aarch64' + run: | + cargo install cross + sudo apt-get update + sudo apt-get install -y qemu-user-static + rustup target add aarch64-unknown-linux-gnu + cd python/delta-kernel-python + maturin build --release --target aarch64-unknown-linux-gnu + shell: bash - name: Upload wheels uses: actions/upload-artifact@v2 From deaa49c38ca705151677ecbdebf654a3e928823b Mon Sep 17 00:00:00 2001 From: Lin Zhou Date: Wed, 31 Jul 2024 10:15:18 +0800 Subject: [PATCH 09/15] test runner --- .github/workflows/kernel-release.yml | 14 +++++--------- 1 file changed, 5 insertions(+), 9 deletions(-) diff --git a/.github/workflows/kernel-release.yml b/.github/workflows/kernel-release.yml index 194a456ce..ac5cfc8a0 100644 --- a/.github/workflows/kernel-release.yml +++ b/.github/workflows/kernel-release.yml @@ -1,4 +1,4 @@ -name: Build wheels for delta-kernel-python +name: Build wheels for delta-kernel-python 1 on: push: @@ -70,21 +70,17 @@ jobs: shell: powershell - name: Build wheel (x86_64 Linux) - if: matrix.os == 'ubuntu-latest' && matrix.arch == 'x86_64' + if: runner.os == 'ubuntu-latest' && runner.arch == 'x86_64' run: | cd python/delta-kernel-python maturin build --release shell: bash - name: Build wheel (aarch64 Linux) - if: matrix.os == 'ubuntu-latest' && matrix.arch == 'aarch64' + if: runner.os == 'ubuntu-latest' && runner.arch == 'arm64' run: | - cargo install cross - sudo apt-get update - sudo apt-get install -y qemu-user-static - rustup target add aarch64-unknown-linux-gnu - cd python/delta-kernel-python - maturin build --release --target aarch64-unknown-linux-gnu + cd python/delta-kernel-python + maturin build --release shell: bash - name: Upload wheels From 44852222b62baa5748e9a12edd0da533dfab52cf Mon Sep 17 00:00:00 2001 From: Lin Zhou Date: Wed, 31 Jul 2024 10:36:59 +0800 Subject: [PATCH 10/15] fix format --- .github/workflows/kernel-release.yml | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/kernel-release.yml b/.github/workflows/kernel-release.yml index ac5cfc8a0..f33cadb05 100644 --- a/.github/workflows/kernel-release.yml +++ b/.github/workflows/kernel-release.yml @@ -15,7 +15,7 @@ jobs: matrix: os: [ubuntu-latest, macos-latest, windows-latest] python-version: [3.8] - arch: [x86_64, arm64, aarch64] + arch: [x86_64, arm64] include: - os: macos-latest arch: x86_64 @@ -24,7 +24,7 @@ jobs: - os: ubuntu-latest arch: x86_64 - os: ubuntu-latest - arch: aarch64 + arch: arm64 - os: windows-latest arch: x86_64 @@ -76,15 +76,15 @@ jobs: maturin build --release shell: bash - - name: Build wheel (aarch64 Linux) - if: runner.os == 'ubuntu-latest' && runner.arch == 'arm64' - run: | + - name: Build wheel (arm64 Linux) + if: runner.os == 'ubuntu-latest' && runner.arch == 'arm64' + run: | cd python/delta-kernel-python maturin build --release - shell: bash + shell: bash - name: Upload wheels uses: actions/upload-artifact@v2 with: name: wheels - path: python/delta-kernel-python/target/wheels/*.whl \ No newline at end of file + path: python/delta-kernel-python/target/wheels/*.whl From d7712651a70507b2bb0368eae943ec346f7bddc2 Mon Sep 17 00:00:00 2001 From: Lin Zhou Date: Wed, 31 Jul 2024 10:55:23 +0800 Subject: [PATCH 11/15] comment out windows --- .github/workflows/kernel-release.yml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/kernel-release.yml b/.github/workflows/kernel-release.yml index f33cadb05..7c71e620a 100644 --- a/.github/workflows/kernel-release.yml +++ b/.github/workflows/kernel-release.yml @@ -62,12 +62,12 @@ jobs: maturin build --release --target aarch64-apple-darwin shell: bash - - name: Build wheel (Windows) - if: runner.os == 'Windows' - run: | - cd python/delta-kernel-python - maturin build --release - shell: powershell +# - name: Build wheel (Windows) +# if: runner.os == 'Windows' +# run: | +# cd python/delta-kernel-python +# maturin build --release +# shell: powershell - name: Build wheel (x86_64 Linux) if: runner.os == 'ubuntu-latest' && runner.arch == 'x86_64' From 28881a641fea740908e59b59bd7fcc52a5b37622 Mon Sep 17 00:00:00 2001 From: Lin Zhou Date: Wed, 31 Jul 2024 11:28:54 +0800 Subject: [PATCH 12/15] try manylinux --- .github/workflows/kernel-release.yml | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/.github/workflows/kernel-release.yml b/.github/workflows/kernel-release.yml index 7c71e620a..60d66345f 100644 --- a/.github/workflows/kernel-release.yml +++ b/.github/workflows/kernel-release.yml @@ -70,17 +70,20 @@ jobs: # shell: powershell - name: Build wheel (x86_64 Linux) - if: runner.os == 'ubuntu-latest' && runner.arch == 'x86_64' + if: matrix.os == 'ubuntu-latest' && matrix.arch == 'x86_64' run: | cd python/delta-kernel-python maturin build --release shell: bash - - name: Build wheel (arm64 Linux) - if: runner.os == 'ubuntu-latest' && runner.arch == 'arm64' + - name: Build wheel (aarch64 Linux) + if: matrix.os == 'ubuntu-latest' && matrix.arch == 'arm64' run: | + sudo apt-get update + sudo apt-get install -y gcc-aarch64-linux-gnu + cd python/delta-kernel-python - maturin build --release + maturin build --release --target manylinux2014_arm64 shell: bash - name: Upload wheels From 833c90217ba72846227ca30cd8ffe29927dde1a8 Mon Sep 17 00:00:00 2001 From: Lin Zhou Date: Wed, 31 Jul 2024 11:36:08 +0800 Subject: [PATCH 13/15] change target to manylinux2014_aarch64 --- .github/workflows/kernel-release.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/kernel-release.yml b/.github/workflows/kernel-release.yml index 60d66345f..70915a582 100644 --- a/.github/workflows/kernel-release.yml +++ b/.github/workflows/kernel-release.yml @@ -83,7 +83,7 @@ jobs: sudo apt-get install -y gcc-aarch64-linux-gnu cd python/delta-kernel-python - maturin build --release --target manylinux2014_arm64 + maturin build --release --target manylinux2014_aarch64 shell: bash - name: Upload wheels From 3361800b40c9788d8a4afee17b3c64f5111a6474 Mon Sep 17 00:00:00 2001 From: Lin Zhou Date: Wed, 31 Jul 2024 13:42:17 +0800 Subject: [PATCH 14/15] add openssl in cargo dependencies --- .github/workflows/kernel-release.yml | 2 +- python/delta-kernel-python/Cargo.toml | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/kernel-release.yml b/.github/workflows/kernel-release.yml index 70915a582..111d045c0 100644 --- a/.github/workflows/kernel-release.yml +++ b/.github/workflows/kernel-release.yml @@ -83,7 +83,7 @@ jobs: sudo apt-get install -y gcc-aarch64-linux-gnu cd python/delta-kernel-python - maturin build --release --target manylinux2014_aarch64 + CC=aarch64-linux-gnu-gcc maturin build --release --target manylinux2014_aarch64 shell: bash - name: Upload wheels diff --git a/python/delta-kernel-python/Cargo.toml b/python/delta-kernel-python/Cargo.toml index b8f5523e7..3b31211e4 100644 --- a/python/delta-kernel-python/Cargo.toml +++ b/python/delta-kernel-python/Cargo.toml @@ -12,6 +12,7 @@ crate-type = ["cdylib"] [dependencies] arrow = { version = "^52.0", features = ["pyarrow"] } delta_kernel = {version = "^0.2", features = ["cloud", "default", "default-engine"]} +openssl = { version = "0.10", features = ["vendored"] } url = "2" [dependencies.pyo3] From 087c685affde7c5379b16be432369a2d4fe529c7 Mon Sep 17 00:00:00 2001 From: Lin Zhou Date: Wed, 31 Jul 2024 13:51:00 +0800 Subject: [PATCH 15/15] remove linux arm64 --- .github/workflows/kernel-release.yml | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/.github/workflows/kernel-release.yml b/.github/workflows/kernel-release.yml index 111d045c0..fefe20be9 100644 --- a/.github/workflows/kernel-release.yml +++ b/.github/workflows/kernel-release.yml @@ -23,8 +23,6 @@ jobs: arch: arm64 - os: ubuntu-latest arch: x86_64 - - os: ubuntu-latest - arch: arm64 - os: windows-latest arch: x86_64 @@ -76,16 +74,6 @@ jobs: maturin build --release shell: bash - - name: Build wheel (aarch64 Linux) - if: matrix.os == 'ubuntu-latest' && matrix.arch == 'arm64' - run: | - sudo apt-get update - sudo apt-get install -y gcc-aarch64-linux-gnu - - cd python/delta-kernel-python - CC=aarch64-linux-gnu-gcc maturin build --release --target manylinux2014_aarch64 - shell: bash - - name: Upload wheels uses: actions/upload-artifact@v2 with: