Skip to content

update CMakeLists

update CMakeLists #50

Workflow file for this run

name: macos
on: [push]
env:
BUILD_TYPE: Release
jobs:
build:
runs-on: macos-latest
steps:
- uses: actions/checkout@v2
with:
submodules: 'recursive'
- name: Create Build Environment
run: cmake -E make_directory build
- name: Configure CMake
shell: bash
working-directory: build
run: cmake $GITHUB_WORKSPACE -DCMAKE_BUILD_TYPE=$BUILD_TYPE -DLLVM_ENABLE_PROJECTS=clang -DLLVM_TARGETS_TO_BUILD= -DLIBCLANG_BUILD_STATIC=ON
- name: Build
working-directory: build
shell: bash
run: cmake --build . --target luaclang53 --config $BUILD_TYPE