fix build under newer KConfig by bump cmake min version
This commit is contained in:
33
3rdparty/lexilla540/lexilla/.github/workflows/build-check-macos.yml
vendored
Normal file
33
3rdparty/lexilla540/lexilla/.github/workflows/build-check-macos.yml
vendored
Normal file
@ -0,0 +1,33 @@
|
||||
name: "Build and check Lexilla on macOS"
|
||||
|
||||
on: [push]
|
||||
|
||||
jobs:
|
||||
build:
|
||||
|
||||
runs-on: macos-latest
|
||||
|
||||
strategy:
|
||||
matrix:
|
||||
cpp_compiler: [clang++]
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- name: Install Scintilla source
|
||||
run: |
|
||||
(cd .. && wget --no-verbose https://www.scintilla.org/scintilla500.zip)
|
||||
(cd .. && unzip scintilla500.zip)
|
||||
- name: Unit Test
|
||||
run: (cd test/unit && make DEBUG=1 CXX=${{matrix.cpp_compiler}} --jobs=$(getconf _NPROCESSORS_ONLN) test)
|
||||
- name: Build Lexilla
|
||||
run: (cd src && make DEBUG=1 CXX=${{matrix.cpp_compiler}} --jobs=$(getconf _NPROCESSORS_ONLN))
|
||||
- uses: actions/upload-artifact@v4
|
||||
with:
|
||||
name: liblexilla.dylib
|
||||
path: bin/liblexilla.dylib
|
||||
- name: Test lexing and folding
|
||||
run: (cd test && make DEBUG=1 CXX=${{matrix.cpp_compiler}} --jobs=$(getconf _NPROCESSORS_ONLN) test)
|
||||
- name: CheckLexilla C Example
|
||||
run: (cd examples/CheckLexilla && make DEBUG=1 --jobs=$(getconf _NPROCESSORS_ONLN) check)
|
||||
- name: SimpleLexer Example
|
||||
run: (cd examples/SimpleLexer && make DEBUG=1 CXX=${{matrix.cpp_compiler}} --jobs=$(getconf _NPROCESSORS_ONLN) check)
|
53
3rdparty/lexilla540/lexilla/.github/workflows/build-check-win32.yml
vendored
Normal file
53
3rdparty/lexilla540/lexilla/.github/workflows/build-check-win32.yml
vendored
Normal file
@ -0,0 +1,53 @@
|
||||
name: "Build and check Lexilla on Win32 with Visual C++"
|
||||
|
||||
on: [push]
|
||||
|
||||
jobs:
|
||||
build:
|
||||
|
||||
runs-on: windows-latest
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- name: Preparing nmake
|
||||
uses: ilammy/msvc-dev-cmd@v1
|
||||
with:
|
||||
arch: x64
|
||||
- name: Install Scintilla source
|
||||
run: |
|
||||
pwd
|
||||
cd ..
|
||||
curl -O https://www.scintilla.org/scintilla500.zip
|
||||
ls
|
||||
7z x scintilla500.zip
|
||||
cd lexilla
|
||||
- name: Unit Test
|
||||
run: |
|
||||
cd test/unit
|
||||
nmake -f test.mak DEBUG=1 test
|
||||
cd ../..
|
||||
- name: Build Lexilla
|
||||
run: |
|
||||
cd src
|
||||
nmake -f lexilla.mak DEBUG=1
|
||||
cd ..
|
||||
- uses: actions/upload-artifact@v4
|
||||
with:
|
||||
name: lexilla.dll
|
||||
path: bin/lexilla.dll
|
||||
- name: Test lexing and folding
|
||||
run: |
|
||||
cd test
|
||||
nmake -f testlexers.mak DEBUG=1 test
|
||||
cd ..
|
||||
- name: CheckLexilla C Example
|
||||
run: |
|
||||
cd examples/CheckLexilla
|
||||
cl -MP CheckLexilla.c -I ../../include -Fe: CheckLexilla
|
||||
.\CheckLexilla.exe
|
||||
cd ../..
|
||||
- name: SimpleLexer Example
|
||||
run: |
|
||||
cd examples/SimpleLexer
|
||||
cl -MP -std:c++17 -EHsc -LD -I ../../../scintilla/include -I ../../include -I ../../lexlib SimpleLexer.cxx ../../lexlib/*.cxx
|
||||
cd ../..
|
34
3rdparty/lexilla540/lexilla/.github/workflows/build-check.yml
vendored
Normal file
34
3rdparty/lexilla540/lexilla/.github/workflows/build-check.yml
vendored
Normal file
@ -0,0 +1,34 @@
|
||||
name: "Build and check Lexilla on Linux"
|
||||
|
||||
on: [push]
|
||||
|
||||
jobs:
|
||||
build:
|
||||
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
strategy:
|
||||
matrix:
|
||||
cpp_compiler: [g++, clang++]
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- name: Install Scintilla source
|
||||
run: |
|
||||
(cd .. && wget --no-verbose https://www.scintilla.org/scintilla500.zip)
|
||||
(cd .. && unzip scintilla500.zip)
|
||||
- name: Unit Test
|
||||
run: (cd test/unit && make DEBUG=1 CXX=${{matrix.cpp_compiler}} --jobs=$(getconf _NPROCESSORS_ONLN) test)
|
||||
- name: Build Lexilla
|
||||
run: (cd src && make DEBUG=1 CXX=${{matrix.cpp_compiler}} --jobs=$(getconf _NPROCESSORS_ONLN))
|
||||
- uses: actions/upload-artifact@v4
|
||||
with:
|
||||
name: liblexilla-${{matrix.cpp_compiler}}.so
|
||||
path: bin/liblexilla.so
|
||||
overwrite: true
|
||||
- name: Test lexing and folding
|
||||
run: (cd test && make DEBUG=1 CXX=${{matrix.cpp_compiler}} --jobs=$(getconf _NPROCESSORS_ONLN) test)
|
||||
- name: CheckLexilla C Example
|
||||
run: (cd examples/CheckLexilla && make DEBUG=1 --jobs=$(getconf _NPROCESSORS_ONLN) check)
|
||||
- name: SimpleLexer Example
|
||||
run: (cd examples/SimpleLexer && make DEBUG=1 CXX=${{matrix.cpp_compiler}} --jobs=$(getconf _NPROCESSORS_ONLN) check)
|
Reference in New Issue
Block a user