Skip to content

How To Compile Your Language Pipeline #4

How To Compile Your Language Pipeline

How To Compile Your Language Pipeline #4

Workflow file for this run

name: How To Compile Your Language Pipeline
on:
push:
branches: [ $default-branch ]
pull_request:
branches: [ $default-branch ]
workflow_dispatch:
env:
BUILD_TYPE: Debug
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Configure CMake
run: cmake -B ${{github.workspace}}/build -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}}
- name: Build
run: cmake --build ${{github.workspace}}/build --config ${{env.BUILD_TYPE}}
- name: Test
working-directory: ${{github.workspace}}/build
run: pip install lit filechek
run: cmake --build . -t test

Check failure on line 29 in .github/workflows/main.yml

View workflow run for this annotation

GitHub Actions / How To Compile Your Language Pipeline

Invalid workflow file

The workflow is not valid. .github/workflows/main.yml (Line: 29, Col: 7): 'run' is already defined