summaryrefslogtreecommitdiff
path: root/.github/workflows
diff options
context:
space:
mode:
Diffstat (limited to '.github/workflows')
-rw-r--r--.github/workflows/ci.yml14
1 files changed, 8 insertions, 6 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 1beb8ae..d0fb0f8 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -148,31 +148,31 @@ jobs:
148 [ 148 [
149 { 149 {
150 toolchain: "1.53", 150 toolchain: "1.53",
151 manylinux: "2010", 151 manylinux: "2014",
152 target: "x86_64-unknown-linux-gnu", 152 target: "x86_64-unknown-linux-gnu",
153 arch: "x86_64", 153 arch: "x86_64",
154 python-version: "3.7" 154 python-version: "3.7"
155 }, 155 },
156 { 156 {
157 toolchain: "nightly", 157 toolchain: "nightly",
158 manylinux: "2010", 158 manylinux: "2014",
159 target: "x86_64-unknown-linux-gnu", 159 target: "x86_64-unknown-linux-gnu",
160 arch: "x86_64", 160 arch: "x86_64",
161 python-version: "3.7" 161 python-version: "3.7"
162 }, 162 },
163 { 163 {
164 toolchain: "stable", 164 toolchain: "stable",
165 manylinux: "2010", 165 manylinux: "2014",
166 target: "x86_64-unknown-linux-gnu", 166 target: "x86_64-unknown-linux-gnu",
167 arch: "x86_64", 167 arch: "x86_64",
168 python-version: "3.7" 168 python-version: "3.7"
169 }, 169 },
170 { 170 {
171 toolchain: "stable", 171 toolchain: "stable",
172 manylinux: "2010", 172 manylinux: "2014",
173 target: "x86_64-unknown-linux-gnu", 173 target: "x86_64-unknown-linux-gnu",
174 arch: "x86_64", 174 arch: "x86_64",
175 python-version: "3.10" 175 python-version: "3.11"
176 } 176 }
177 ] 177 ]
178 steps: 178 steps:
@@ -184,7 +184,7 @@ jobs:
184 184
185 - name: Build Wheels 185 - name: Build Wheels
186 run: | 186 run: |
187 echo 'curl --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --default-toolchain ${{ matrix.platform.toolchain }} 187 echo 'curl -sSf https://sh.rustup.rs | sh -s -- -y --default-toolchain ${{ matrix.platform.toolchain }}
188 source ~/.cargo/env 188 source ~/.cargo/env
189 export PATH=/opt/python/cp38-cp38/bin:$PATH 189 export PATH=/opt/python/cp38-cp38/bin:$PATH
190 pip install maturin 190 pip install maturin
@@ -245,6 +245,7 @@ jobs:
245 echo 'curl -sSf https://sh.rustup.rs | sh -s -- -y --default-toolchain stable 245 echo 'curl -sSf https://sh.rustup.rs | sh -s -- -y --default-toolchain stable
246 source ~/.cargo/env 246 source ~/.cargo/env
247 rustup target add ${{ matrix.platform.target }} 247 rustup target add ${{ matrix.platform.target }}
248 pip install maturin
248 maturin build -i python --release --out dist --target ${{ matrix.platform.target }} --manylinux ${{ matrix.platform.manylinux }} 249 maturin build -i python --release --out dist --target ${{ matrix.platform.target }} --manylinux ${{ matrix.platform.manylinux }}
249 ' > build-wheel.sh 250 ' > build-wheel.sh
250 chmod +x build-wheel.sh 251 chmod +x build-wheel.sh
@@ -296,6 +297,7 @@ jobs:
296 297
297 - name: Wheel filename sanity checks 298 - name: Wheel filename sanity checks
298 run: | 299 run: |
300 ls -lah
299 num_abi3_whl=$(find | grep "\./adblock.*-abi3.*\.whl" | wc -l) 301 num_abi3_whl=$(find | grep "\./adblock.*-abi3.*\.whl" | wc -l)
300 num_whl=$(find | grep "\./adblock.*\.whl" | wc -l) 302 num_whl=$(find | grep "\./adblock.*\.whl" | wc -l)
301 test $num_abi3_whl -eq $num_whl 303 test $num_abi3_whl -eq $num_whl