Skip to content

allocate memory lazily in dynamic proc store #35

allocate memory lazily in dynamic proc store

allocate memory lazily in dynamic proc store #35

Workflow file for this run

name: Tests
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v1
- name: Cache Docker layers
uses: actions/cache@v2
with:
path: /tmp/.buildx-cache
key: ${{ runner.os }}-buildx-${{ github.sha }}
restore-keys: |
${{ runner.os }}-buildx-
- name: Build Docker image
uses: docker/build-push-action@v2
with:
context: .
load: true
push: false
tags: csp_proc:latest
cache-from: type=local,src=/tmp/.buildx-cache
cache-to: type=local,dest=/tmp/.buildx-cache
- name: Check code formatting
run: |
docker run --rm -v "$(pwd):/csp_proc" csp_proc:latest bash -c "find . -name '*.cpp' -or -name '*.hpp' -or -name '*.c' -or -name '*.c' -or -name '*.h' | xargs clang-format --dry-run --Werror"
- name: Run tests
run: docker run --rm csp_proc:latest meson test -C builddir --verbose