Skip to content

fix

fix #13

Workflow file for this run

name: CMake
on:
push:
branches: [ "master" ]
pull_request:
branches: [ "master" ]
env:
BUILD_TYPE: Release
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
version: [15 ,16 ,17 ,18]
steps:
- uses: actions/checkout@v3
- name: Get LLVM
run:
- apt install -y wget cmake git lsb-release software-properties-common gpg

Check failure on line 19 in .github/workflows/cmake.yml

View workflow run for this annotation

GitHub Actions / CMake

Invalid workflow file

The workflow is not valid. .github/workflows/cmake.yml (Line: 19, Col: 9): A sequence was not expected
- wget https://apt.llvm.org/llvm.sh
- chmod +x llvm.sh
- sudo ./llvm.sh ${{matrix.version}}
- sudo apt-get install -y clang-${{matrix.version}} llvm-${{matrix.version}}-dev libclang-common-${{matrix.version}}-dev libclang-${{matrix.version}}-dev
- git submodule init && git submodule update
- name: Configure CMake
run: cmake -B ${{github.workspace}}/build -DCMAKE_CXX_COMPILER=clang++-${{matrix.version}} -DLLVM_CONF=llvm-config-${{matrix.version}} -DUSE_MONOLITH_LIBTOOLING=ON
- name: Build
run: cmake --build ${{github.workspace}}/build
- name: Test
working-directory: ${{github.workspace}}/build
run: ctest -C ${{env.BUILD_TYPE}}