2424 git submodule init
2525 git submodule update
2626 rm -rf hackpack-cpp/tests/
27- - name : Run tests
27+ - name : Run library checker and aizu tests
2828 env :
2929 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
3030 run : oj-verify all --tle 60 --timeout 21600
4040 wget -O - https://apt.llvm.org/llvm.sh | sudo bash
4141 - name : Install dependencies
4242 run : sudo apt update && sudo apt install -y clang-format-19 cppcheck
43- - name : checks format then lints
43+ - name : grep, clang- format, cppcheck
4444 run : make --directory=tests/ grep_clangformat_cppcheck
4545
4646 clangtidy :
6161 runs-on : ubuntu-latest
6262 steps :
6363 - uses : actions/checkout@v2
64- - name : Compile all tests
64+ - name : g++ with gcc
6565 run : make --directory=tests/ compile_gcc
6666
6767 compile_clang :
@@ -72,17 +72,17 @@ jobs:
7272 run : wget -qO- https://apt.llvm.org/llvm.sh | sudo bash -s -- 19
7373 - name : Install dependencies
7474 run : sudo apt update && sudo apt install -y clang-19
75- - name : Compile all tests
75+ - name : g++ with clang
7676 run : make --directory=tests/ compile_clang
7777
78- files_without_tests :
78+ find_files_without_tests :
7979 runs-on : ubuntu-latest
8080 steps :
8181 - uses : actions/checkout@v2
82- - name : files without tests
83- run : make --directory=tests/ files_without_tests
82+ - name : find files without tests
83+ run : make --directory=tests/ find_files_without_tests
8484
85- build_ptc :
85+ build_pdf :
8686 runs-on : ubuntu-latest
8787 steps :
8888 - uses : actions/checkout@v2
@@ -92,16 +92,16 @@ jobs:
9292 sudo apt install texlive texlive-latex-extra rename nodejs npm
9393 wget -qO- https://apt.llvm.org/llvm.sh | sudo bash -s -- 19
9494 sudo apt update && sudo apt install -y clang-19
95- - name : build ptc
96- run : make --directory=tests/ ptc
95+ - name : build pdf
96+ run : make --directory=tests/ build_pdf
9797 - uses : actions/upload-artifact@v4
9898 with :
9999 name : ptc
100100 path : tests/ptc.pdf
101101
102102 publish_ptc :
103103 runs-on : ubuntu-latest
104- needs : [library_checker_aizu, grep_clangformat_cppcheck, clangtidy, compile_gcc, compile_clang, files_without_tests, build_ptc ]
104+ needs : [library_checker_aizu, grep_clangformat_cppcheck, clangtidy, compile_gcc, compile_clang, find_files_without_tests, build_pdf ]
105105 if : github.ref == 'refs/heads/dev' && github.event_name == 'push'
106106 steps :
107107 - uses : actions/checkout@v2
@@ -119,7 +119,7 @@ jobs:
119119
120120 update_main :
121121 runs-on : ubuntu-latest
122- needs : [library_checker_aizu, grep_clangformat_cppcheck, clangtidy, compile_gcc, compile_clang, files_without_tests ]
122+ needs : [library_checker_aizu, grep_clangformat_cppcheck, clangtidy, compile_gcc, compile_clang, find_files_without_tests ]
123123 if : github.ref == 'refs/heads/dev' && github.event_name == 'push'
124124 steps :
125125 - uses : actions/checkout@v2
@@ -147,5 +147,5 @@ jobs:
147147 - uses : actions/checkout@v2
148148 - name : Install dependencies
149149 run : sudo apt install shfmt shellcheck
150- - name : shellcheck and shfmt
150+ - name : shellcheck, shfmt
151151 run : make --directory=tests/ shellcheck_shfmt
0 commit comments