Skip to content

Commit

Permalink
move git commands to their own script
Browse files Browse the repository at this point in the history
  • Loading branch information
Seppli11 committed Dec 17, 2024
1 parent 062a50b commit ec86bb0
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions .cirrus.yml
Original file line number Diff line number Diff line change
Expand Up @@ -112,8 +112,9 @@ test_analyze_task:
PGP_PASSPHRASE: VAULT[development/kv/data/sign data.passphrase]
maven_cache:
folder: ${CIRRUS_WORKING_DIR}/.m2/repository
analyze_script:
submodules_script:
- git submodule update --init --jobs 4
analyze_script:
- cd python-frontend/typeshed_serializer/resources/python-type-stubs
- git sparse-checkout set stubs/sklearn
- git checkout
Expand All @@ -129,13 +130,13 @@ build_win_task:
# windows cache is buggy if using ${CIRRUS_WORKING_DIR}
# Additionally "~" seems to resolve differently in the context of the cache and the context of the build_script below
folder: C:/.m2/repository
build_script:
git_script:
- git config --global core.autocrlf input
- git submodule update --init --jobs 4
- cd python-frontend/typeshed_serializer/resources/python-type-stubs
- git sparse-checkout set stubs/sklearn
- git sparse-checkout set stubs/sklearn
- git checkout
- cd -
build_script:
- source cirrus-env CI
- unset SONARSOURCE_QA
- mvn.cmd package -Dmaven.repo.local=C:/.m2/repository -DskipTypeshed=true -DfailStubGenerationFast=true
Expand Down

0 comments on commit ec86bb0

Please sign in to comment.