Skip to content

Commit

Permalink
Improve unnecessary parser rebuild prevention in the CI
Browse files Browse the repository at this point in the history
Ref. eng/recordflux/RecordFlux#1546
  • Loading branch information
andrestt committed Apr 11, 2024
1 parent 6f22b9c commit b650505
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -108,8 +108,12 @@ setup:
. .venv$PYTHON_VERSION/bin/activate;
make init;
fi
# Prevent regeneration of Langkit-based parser
- touch generated/python/librflxlang generated/lib/relocatable/dev/librflxlang.so
# Prevent regeneration of Langkit-based parser.
# The full set of dependencies must be touched in the relative build order.
- touch .venv$PYTHON_VERSION/lib/python$PYTHON_VERSION/site-packages/langkit
- touch generated/python/librflxlang
- touch generated/lib/relocatable/dev/librflxlang.so
- touch rflx/lang/librflxlang.so

changelog:
rules:
Expand Down

0 comments on commit b650505

Please sign in to comment.