File tree Expand file tree Collapse file tree 1 file changed +4
-49
lines changed
Expand file tree Collapse file tree 1 file changed +4
-49
lines changed Original file line number Diff line number Diff line change 2626 matrix :
2727 platform :
2828 - runner : ubuntu-22.04
29- target : x86_64 arm64
29+ target : x86_64
30+ - runner : ubuntu-22.04
31+ target : aarch64
32+
3033 steps :
3134 - uses : actions/checkout@v4
3235 with :
6063 name : wheels-linux-${{ matrix.platform.target }}
6164 path : crackers_python/dist
6265
63- linux-arm :
64- name : Build wheel on ${{ matrix.platform.name }}
65- runs-on : ubuntu-latest
66- strategy :
67- matrix :
68- platform :
69- - name : arm64
70- arch : aarch64
71-
72- steps :
73- - name : Checkout code
74- uses : actions/checkout@v4
75- with :
76- submodules : true
77-
78- - name : Set up QEMU
79- uses : docker/setup-qemu-action@v3
80-
81- - name : Run on ARM using run-on-arch-action
82- uses : uraimo/run-on-arch-action@v3
83- with :
84- arch : ${{ matrix.platform.arch }}
85- distro : ubuntu20.04
86- githubToken : ${{ github.token }}
87- run : |
88- set -eux
89- cd crackers_python
90-
91- # Install dependencies
92- apt update
93- apt install -y curl build-essential python3 python3-pip python3-venv libclang-dev llvm-dev clang libz3-dev
94-
95- # Install Rust
96- curl https://sh.rustup.rs -sSf | sh -s -- -y
97- source "$HOME/.cargo/env"
98-
99- # Install Maturin
100- pip3 install maturin[patchelf]
101-
102- # Build the wheel
103- maturin build --release --out dist --find-interpreter --manylinux 2_31
104-
105- - name : Upload wheels
106- uses : actions/upload-artifact@v4
107- with :
108- name : wheels-linux-${{ matrix.platform.arch }}
109- path : crackers_python/dist
110-
11166 # windows:
11267 # runs-on: ${{ matrix.platform.runner }}
11368 # strategy:
You can’t perform that action at this time.
0 commit comments