Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 10 additions & 10 deletions .github/workflows/programming_team_code_ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jobs:
library_checker_aizu:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v7
with:
fetch-depth: 0
- name: Set up Python
Expand Down Expand Up @@ -40,7 +40,7 @@ jobs:
grep_clangformat_cppcheck:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v7
- uses: ./.github/actions/setup
- name: Install dependencies
run: sudo apt install -y cppcheck
Expand All @@ -50,15 +50,15 @@ jobs:
clangtidy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v7
- uses: ./.github/actions/setup
- name: clang-tidy
run: make --directory=tests/ clangtidy

compile_gcc:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v7
- name: Make preinstalled g++-14 the default g++
run: |
sudo update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-14 100
Expand All @@ -69,22 +69,22 @@ jobs:
compile_clang:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v7
- uses: ./.github/actions/setup
- name: g++ with clang
run: make --directory=tests/ compile_clang

find_files_without_tests:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v7
- name: find files without tests
run: make --directory=tests/ find_files_without_tests

build_pdf:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v7
- uses: ./.github/actions/setup
- name: Install texlive, rename
run: sudo apt install texlive texlive-latex-extra rename
Expand All @@ -100,7 +100,7 @@ jobs:
needs: [library_checker_aizu, grep_clangformat_cppcheck, clangtidy, compile_gcc, compile_clang, find_files_without_tests, build_pdf]
if: github.ref == 'refs/heads/dev' && github.event_name == 'push'
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v7
- uses: actions/download-artifact@v4
with:
name: ptc
Expand All @@ -117,7 +117,7 @@ jobs:
needs: [library_checker_aizu, grep_clangformat_cppcheck, clangtidy, compile_gcc, compile_clang, find_files_without_tests, build_pdf]
if: github.ref == 'refs/heads/dev' && github.event_name == 'push'
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v7
- uses: ./.github/actions/setup
- name: Combine includes and force push to main branch
run: |
Expand All @@ -134,7 +134,7 @@ jobs:
shellcheck_shfmt:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v7
- name: Install dependencies
run: sudo apt install shfmt
- name: shellcheck, shfmt
Expand Down
Loading