Skip to content

trigger-build

trigger-build #16

Workflow file for this run

name: Build
on:
repository_dispatch:
types: [trigger-build]
jobs:
build-code:
runs-on: ubuntu-latest
container:
image: tobitflatscher/lbt
volumes:
- ${{ github.workspace }}:/code/lbt
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Create build folder
run: mkdir build
- name: Run CMake
run: cmake -B /code/lbt/build -S /code/lbt -D VTK_DIR=/code/lbt/../VTK-build
- name: Compile with Make
run: make -j $(nproc) -C /code/lbt/build