| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent 96d906b commit 15d42d7
1 file changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -47,6 +47,34 @@ jobs: | |||
| 47 | 47 | # https://github.com/python/core-workflow/issues/373 | |
| 48 | 48 | git diff --name-only origin/$GITHUB_BASE_REF.. | grep -qvE '(\.rst$|^Doc|^Misc)' && echo '::set-output name=run_tests::true' || true | |
| 49 | 49 | fi | |
| 50 | + | ||
| 51 | + check_generated_files: | ||
| 52 | + name: 'Check if generated files are up to date' | ||
| 53 | + runs-on: ubuntu-latest | ||
| 54 | + needs: check_source | ||
| 55 | + if: needs.check_source.outputs.run_tests == 'true' | ||
| 56 | + steps: | ||
| 57 | + - uses: actions/checkout@v2 | ||
| 58 | + - uses: actions/setup-python@v2 | ||
| 59 | + - name: Install Dependencies | ||
| 60 | + run: sudo ./.github/workflows/posix-deps-apt.sh | ||
| 61 | + - name: Build CPython | ||
| 62 | + run: | | ||
| 63 | + ./configure --with-pydebug | ||
| 64 | + make -j4 regen-all | ||
| 65 | + - name: Check for changes | ||
| 66 | + run: | | ||
| 67 | + changes=$(git status --porcelain) | ||
| 68 | + # Check for changes in regenerated files | ||
| 69 | + if ! test -z "$changes" | ||
| 70 | + then | ||
| 71 | + echo "Generated files not up to date. Perhaps you forgot to run make regen-all ;)" | ||
| 72 | + echo "$changes" | ||
| 73 | + exit 1 | ||
| 74 | + fi | ||
| 75 | + - name: Check exported libpython symbols | ||
| 76 | + run: make smelly | ||
| 77 | + | ||
| 50 | 78 | build_win32: | |
| 51 | 79 | name: 'Windows (x86)' | |
| 52 | 80 | runs-on: windows-latest | |
| Back | FazBrowse Home | New Git URL |
0 commit comments