Skip to content

Update xcode version for mac builds #3206

Update xcode version for mac builds

Update xcode version for mac builds #3206

Workflow file for this run

name: Style
on:
pull_request: null
workflow_dispatch:
inputs:
myCommit:
description: Commit SHA1
required: false
default: ''
type: string
push: null
release:
types:
- published
env:
LLS_TAG: '3.9.1'
jobs:
check_style:
runs-on: ubuntu-22.04
steps:
- name: Checkout
uses: actions/checkout@v3
with:
submodules: recursive
ref: '${{inputs.myCommit}}'
- name: Restore cached lua-language-server
id: lls-cache
uses: actions/cache@v4
with:
path: 'lua-language-server/build/bin'
key: 'lls-cache-${{env.LLS_TAG}}'
- name: Checkout lua-language-server
if: steps.lls-cache.outputs.cache-hit != 'true'
uses: actions/checkout@v3
with:
repository: 'LuaLS/lua-language-server'
path: 'lua-language-server'
ref: '3.9.1'
- name: Install ninja-build
if: steps.lls-cache.outputs.cache-hit != 'true'
uses: seanmiddleditch/gha-setup-ninja@v4
- name: Build lua-language-server
if: steps.lls-cache.outputs.cache-hit != 'true'
working-directory: lua-language-server
run: |
./make.sh
- name: Configure
run: |
cmake -B build -DOE_USE_DUMMY_DEPENDENCIES=ON -DOE_LLS_COMMAND=./lua-language-server/build/bin/lua-language-server
- name: Check style
working-directory: build
run: |
make check_style