File tree 1 file changed +28
-0
lines changed
1 file changed +28
-0
lines changed Original file line number Diff line number Diff line change 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
You can’t perform that action at this time.
0 commit comments