-
-
Notifications
You must be signed in to change notification settings - Fork 529
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Test on CI that update-meson is properly ran
- Loading branch information
1 parent
92bc994
commit 82a439a
Showing
2 changed files
with
30 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -72,6 +72,23 @@ jobs: | |
# Use --no-deps and pip check below to verify that all necessary dependencies are installed via conda | ||
pip install --no-build-isolation --no-deps --config-settings=builddir=builddir . -v | ||
- name: Check update-meson | ||
# this step must be after build, because meson.build creates a number of __init__.py files | ||
# that is needed to make tools/update-meson.py run correctly | ||
shell: bash -l {0} | ||
id: check_update_meson | ||
run: | | ||
python3 tools/update-meson.py | ||
make test-git-no-uncommitted-changes | ||
continue-on-error: true | ||
|
||
- name: Show files changed by update-meson | ||
if: ${{ steps.check_update_meson.outcome == 'failure' }} | ||
shell: bash -l {0} | ||
run: | | ||
git status | ||
git diff | ||
- name: Verify dependencies | ||
shell: bash -l {0} | ||
run: pip check | ||
|
@@ -83,6 +100,14 @@ jobs: | |
rm -R ./src/sage_setup/ | ||
./sage -t --all -p4 | ||
- name: Report update-meson failure | ||
if: ${{ steps.check_update_meson.outcome == 'failure' }} | ||
shell: bash -l {0} | ||
run: | | ||
# Please see step 'Show files changed by update-meson' above and apply the changes, | ||
# or run tools/update-meson.py locally | ||
false | ||
- name: Upload log | ||
uses: actions/[email protected] | ||
if: failure() | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters