Skip to content

Commit d7a0bee

Browse files
committed
DO NOT MERGE: Support linux aarch64
1 parent 0d6bc3f commit d7a0bee

14 files changed

+33
-600
lines changed

.github/workflows/codeql.yml

-87
This file was deleted.

.github/workflows/github-issue-labeler.yml

-20
This file was deleted.

.github/workflows/github-pages.yml

-53
This file was deleted.

.github/workflows/js-docs-builder.yml

-40
This file was deleted.

.github/workflows/js-publish.yml

-29
This file was deleted.

.github/workflows/js-test.yml

-39
This file was deleted.

.github/workflows/python-build-package.yml

+24-24
Original file line numberDiff line numberDiff line change
@@ -21,12 +21,14 @@ jobs:
2121
strategy:
2222
matrix:
2323
platform:
24+
# - runner: ubuntu-latest
25+
# target: x86_64
2426
- runner: ubuntu-latest
25-
target: x86_64
26-
- runner: windows-latest
27-
target: x64
28-
- runner: macos-14
2927
target: aarch64
28+
# - runner: windows-latest
29+
# target: x64
30+
# - runner: macos-14
31+
# target: aarch64
3032
steps:
3133
- uses: actions/checkout@v4
3234
- name: Setup Python
@@ -78,28 +80,26 @@ jobs:
7880
- run: python3 ./python/scripts/run_quick_test_magika_cli.py
7981
- run: python3 ./python/scripts/run_quick_test_magika_module.py
8082
- name: Upload wheels
81-
if: github.event_name != 'pull_request'
83+
# if: github.event_name != 'pull_request'
8284
uses: actions/upload-artifact@v4
8385
with:
8486
name: wheels-${{ matrix.platform.runner }}-${{ matrix.platform.target }}
8587
path: dist
8688

87-
sdist:
88-
runs-on: ubuntu-latest
89-
steps:
90-
- uses: actions/checkout@v4
91-
# TODO(https://github.com/PyO3/maturin/issues/2244): Remove when released.
92-
- run: rm rust/cli/README.md
93-
- run: python3 ./python/scripts/fix_package_version.py
94-
- name: Build sdist
95-
uses: PyO3/maturin-action@v1
96-
with:
97-
command: sdist
98-
args: --out=../dist
99-
working-directory: python
100-
- name: Upload sdist
101-
if: github.event_name != 'pull_request'
102-
uses: actions/upload-artifact@v4
103-
with:
104-
name: wheels-sdist
105-
path: dist
89+
# sdist:
90+
# runs-on: ubuntu-latest
91+
# steps:
92+
# - uses: actions/checkout@v4
93+
# - run: python3 ./python/scripts/fix_package_version.py
94+
# - name: Build sdist
95+
# uses: PyO3/maturin-action@v1
96+
# with:
97+
# command: sdist
98+
# args: --out=../dist
99+
# working-directory: python
100+
# - name: Upload sdist
101+
# # if: github.event_name != 'pull_request'
102+
# uses: actions/upload-artifact@v4
103+
# with:
104+
# name: wheels-sdist
105+
# path: dist

.github/workflows/python-test-published-package.yml

-57
This file was deleted.

0 commit comments

Comments
 (0)