Skip to content

add CI workflows

add CI workflows #1

Workflow file for this run

name: CI
on: [push, pull_request]
jobs:
concurrent-ll:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
- uses: webfactory/[email protected]
continue-on-error: true
with:
ssh-private-key: ${{ secrets.SSH_PRIVATE_KEY }}
- name: install-dependencies
run: |
sudo apt-get update
sudo apt-get -q -y install build-essential cppcheck
- name: build
run: |
make
- name: make check
run: |
make check || (cat scripts/weeping.raw ; exit 1)
cat scripts/kirby.raw
- name: make test
run: |
make test || (cat scripts/weeping.raw ; exit 1)
cat scripts/kirby.raw
coding-style:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
- name: coding convention
run: |
sudo apt-get install -q -y clang-format-14
.ci/check-newline.sh
.ci/check-format.sh
shell: bash