File tree Expand file tree Collapse file tree 1 file changed +28
-0
lines changed Expand file tree Collapse file tree 1 file changed +28
-0
lines changed Original file line number Diff line number Diff line change 40
40
# https://github.com/python/core-workflow/issues/373
41
41
git diff --name-only origin/$GITHUB_BASE_REF.. | grep -qvE '(\.rst$|^Doc|^Misc)' && echo '::set-output name=run_tests::true' || true
42
42
fi
43
+
44
+ check_generated_files :
45
+ name : ' Check if generated files are up to date'
46
+ runs-on : ubuntu-latest
47
+ needs : check_source
48
+ if : needs.check_source.outputs.run_tests == 'true'
49
+ steps :
50
+ - uses : actions/checkout@v2
51
+ - uses : actions/setup-python@v2
52
+ - name : Install Dependencies
53
+ run : sudo ./.github/workflows/posix-deps-apt.sh
54
+ - name : Build CPython
55
+ run : |
56
+ ./configure --with-pydebug
57
+ make -j4 regen-all
58
+ - name : Check for changes
59
+ run : |
60
+ changes=$(git status --porcelain)
61
+ # Check for changes in regenerated files
62
+ if ! test -z "$changes"
63
+ then
64
+ echo "Generated files not up to date. Perhaps you forgot to run make regen-all ;)"
65
+ echo "$changes"
66
+ exit 1
67
+ fi
68
+ - name : Check exported libpython symbols
69
+ run : make smelly
70
+
43
71
build_win32 :
44
72
name : ' Windows (x86)'
45
73
runs-on : windows-latest
You can’t perform that action at this time.
0 commit comments