Skip to content

Commit

Permalink
Configure skips
Browse files Browse the repository at this point in the history
  • Loading branch information
darrenburns committed Nov 28, 2024
1 parent 0c63adf commit c189274
Show file tree
Hide file tree
Showing 2 changed files with 57 additions and 53 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ jobs:
CIBW_BEFORE_BUILD: pip install -e . && python build.py
CIBW_TEST_REQUIRES: pytest
CIBW_TEST_COMMAND: pytest --showlocals {package}/tests
CIBW_SKIP: "{pp*}"
CIBW_SKIP: "{cp36-*,cp37-*,pp*}" # Skip Python 3.6 and 3.7, as well as PyPy
CIBW_ARCHS_MACOS: x86_64 arm64
CIBW_ARCHS_LINUX: auto aarch64
# CIBW_BUILD_VERBOSITY: 3
Expand Down
108 changes: 56 additions & 52 deletions build.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,12 @@
# https://serverfault.com/a/713065
os.mkdir(clone_directory)
subprocess.check_call(["git", "init"], cwd=clone_directory)
subprocess.check_call(["git", "remote", "add", "origin", url], cwd=clone_directory)
subprocess.check_call(["git", "fetch", "--depth=1", "origin", commit], cwd=clone_directory)
subprocess.check_call(
["git", "remote", "add", "origin", url], cwd=clone_directory
)
subprocess.check_call(
["git", "fetch", "--depth=1", "origin", commit], cwd=clone_directory
)
subprocess.check_call(["git", "checkout", commit], cwd=clone_directory)

print()
Expand All @@ -43,54 +47,54 @@
Language.build_library(
languages_filename,
[
'vendor/tree-sitter-bash',
'vendor/tree-sitter-c',
'vendor/tree-sitter-c-sharp',
'vendor/tree-sitter-commonlisp',
'vendor/tree-sitter-cpp',
'vendor/tree-sitter-css',
'vendor/tree-sitter-dockerfile',
'vendor/tree-sitter-dot',
'vendor/tree-sitter-elisp',
'vendor/tree-sitter-elixir',
'vendor/tree-sitter-elm',
'vendor/tree-sitter-embedded-template',
'vendor/tree-sitter-erlang',
'vendor/tree-sitter-fixed-form-fortran',
'vendor/tree-sitter-fortran',
'vendor/tree-sitter-go',
'vendor/tree-sitter-go-mod',
'vendor/tree-sitter-hack',
'vendor/tree-sitter-haskell',
'vendor/tree-sitter-hcl',
'vendor/tree-sitter-html',
'vendor/tree-sitter-java',
'vendor/tree-sitter-javascript',
'vendor/tree-sitter-jsdoc',
'vendor/tree-sitter-json',
'vendor/tree-sitter-julia',
'vendor/tree-sitter-kotlin',
'vendor/tree-sitter-lua',
'vendor/tree-sitter-make',
'vendor/tree-sitter-markdown',
'vendor/tree-sitter-objc',
'vendor/tree-sitter-ocaml/ocaml',
'vendor/tree-sitter-perl',
'vendor/tree-sitter-php',
'vendor/tree-sitter-python',
'vendor/tree-sitter-ql',
'vendor/tree-sitter-r',
'vendor/tree-sitter-regex',
'vendor/tree-sitter-rst',
'vendor/tree-sitter-ruby',
'vendor/tree-sitter-rust',
'vendor/tree-sitter-scala',
'vendor/tree-sitter-sql',
'vendor/tree-sitter-sqlite',
'vendor/tree-sitter-toml',
'vendor/tree-sitter-tsq',
'vendor/tree-sitter-typescript/tsx',
'vendor/tree-sitter-typescript/typescript',
'vendor/tree-sitter-yaml',
]
"vendor/tree-sitter-bash",
"vendor/tree-sitter-c",
"vendor/tree-sitter-c-sharp",
"vendor/tree-sitter-commonlisp",
"vendor/tree-sitter-cpp",
"vendor/tree-sitter-css",
"vendor/tree-sitter-dockerfile",
"vendor/tree-sitter-dot",
"vendor/tree-sitter-elisp",
"vendor/tree-sitter-elixir",
"vendor/tree-sitter-elm",
"vendor/tree-sitter-embedded-template",
"vendor/tree-sitter-erlang",
"vendor/tree-sitter-fixed-form-fortran",
"vendor/tree-sitter-fortran",
"vendor/tree-sitter-go",
"vendor/tree-sitter-go-mod",
"vendor/tree-sitter-hack",
"vendor/tree-sitter-haskell",
"vendor/tree-sitter-hcl",
"vendor/tree-sitter-html",
"vendor/tree-sitter-java",
"vendor/tree-sitter-javascript",
"vendor/tree-sitter-jsdoc",
"vendor/tree-sitter-json",
"vendor/tree-sitter-julia",
"vendor/tree-sitter-kotlin",
"vendor/tree-sitter-lua",
"vendor/tree-sitter-make",
"vendor/tree-sitter-markdown",
"vendor/tree-sitter-objc",
"vendor/tree-sitter-ocaml/ocaml",
"vendor/tree-sitter-perl",
"vendor/tree-sitter-php",
"vendor/tree-sitter-python",
"vendor/tree-sitter-ql",
"vendor/tree-sitter-r",
"vendor/tree-sitter-regex",
"vendor/tree-sitter-rst",
"vendor/tree-sitter-ruby",
"vendor/tree-sitter-rust",
"vendor/tree-sitter-scala",
"vendor/tree-sitter-sql",
"vendor/tree-sitter-sqlite",
"vendor/tree-sitter-toml",
"vendor/tree-sitter-tsq",
"vendor/tree-sitter-typescript/tsx",
"vendor/tree-sitter-typescript/typescript",
"vendor/tree-sitter-yaml",
],
)

0 comments on commit c189274

Please sign in to comment.