Skip to content

Use Malloc for path's buffers instead of stack #491

Use Malloc for path's buffers instead of stack

Use Malloc for path's buffers instead of stack #491

Workflow file for this run

# Validate on default OSes.
name: Main
on:
workflow_dispatch:
pull_request:
jobs:
src_checkers:
name: Source checkers
runs-on: ubuntu-latest
permissions:
issues: read
steps:
- name: Clone the git repo
uses: actions/checkout@v3
with:
# required for `make check-license` to work properly
fetch-depth: 50
- name: Check changelog
uses: Zomzog/[email protected]
with:
fileName: ChangeLog
noChangelogLabel: no changelog # the default
checkNotification: Simple
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Install dependencies
run: |
sudo pip install flake8
sudo apt-get install clang-format-14
- name: Check licenses
env:
NDCTL_ENABLE: n # just to speed up the job
run: make -j$(nproc) check-license
- name: Check style
env:
CSTYLE_FAIL_IF_CLANG_FORMAT_MISSING: 1
NDCTL_ENABLE: n # just to speed up the job
run: make -j$(nproc) cstyle
basic_build:
name: Basic build
runs-on: ubuntu-latest
steps:
- name: Clone the git repo
uses: actions/checkout@v3
- name: Install dependencies
run: sudo apt-get -y install pandoc
- name: Build sources
env:
NDCTL_ENABLE: n # just to speed up the job
run: make -j$(nproc) test
call-ubuntu:
needs: [src_checkers, basic_build]
uses: ./.github/workflows/ubuntu.yml
name: Ubuntu
coverage_scan:
needs: call-ubuntu
uses: ./.github/workflows/scan_coverage.yml
name: Coverage