File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1010 container : tuxmake/x86_64_clang-nightly
1111 steps :
1212 - uses : actions/checkout@v6
13- - name : parse-debian-clang.py --check
14- run : python3 scripts/parse-debian-clang.py --check
13+ - name : parse-debian-clang.py
14+ run : scripts/parse-debian-clang.py --check --print-info
Original file line number Diff line number Diff line change 4141now_utc = datetime .datetime .now (datetime .timezone .utc )
4242delta = now_utc - clang_utc
4343
44- if args .check and delta .days >= 5 :
45- raise RuntimeError (f"Clang has not been updated for { delta } !" )
46-
4744if args .print_info :
4845 print (
4946 f"clang checkout date: { clang_utc .strftime ('%Y-%m-%d %H:%M %Z' )} ({ delta } ago)"
5249 print (
5350 f"clang revision link: https://github.com/llvm/llvm-project/commit/{ clang_hash } "
5451 )
52+
53+ if args .check and delta .days >= 5 :
54+ raise RuntimeError (f"Clang has not been updated for { delta } !" )
You can’t perform that action at this time.
0 commit comments