2022-01-05 00:07:50 +01:00
|
|
|
name: "Build and check Lexilla on Win32 with Visual C++"
|
|
|
|
|
|
|
|
on: [push]
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
build:
|
|
|
|
|
|
|
|
runs-on: windows-latest
|
|
|
|
|
|
|
|
steps:
|
Update to scintilla 5.5.0 & Lexilla 5.3.2
Sintilla Release 5.5.0 (https://www.scintilla.org/scintilla550.zip)
Released 23 April 2024.
Add elements for inactive additional selections SC_ELEMENT_SELECTION_INACTIVE_ADDITIONAL_TEXT and SC_ELEMENT_SELECTION_INACTIVE_ADDITIONAL_BACK. When not set these default to SC_ELEMENT_SELECTION_INACTIVE_TEXT and SC_ELEMENT_SELECTION_INACTIVE_BACK. Bug #2417.
On Cocoa, avoid use of NSUserDefaults which will soon require justification when used in applications on the App Store.
Fix Win32 IME crash in windowed mode. Bug #2433.
Scale reverse arrow cursor for margins to match other cursors when user changes pointer size. Bug #2321.
Lexilla Release 5.3.2 (https://www.scintilla.org/lexilla532.zip)
Released 23 April 2024.
COBOL: Stop string literal continuing over line end. Issue #229.
COBOL: Stop doc comment assigning different styles to \r and \n at line end. Issue #229.
COBOL: Recognize keywords that start with 'V'. Issue #230.
COBOL: Recognize comments after tag or that start with '/'. Issue #231.
HTML: Implement substyles for tags, attributes, and identifiers SCE_H_TAG, SCE_H_ATTRIBUTE, SCE_HJ_WORD, SCE_HJA_WORD, SCE_HB_WORD, SCE_HP_WORD, SCE_HPHP_WORD.
HTML: Implement context-sensitive attributes. "tag.attribute" matches "attribute" only inside "tag".
HTML: Match standard handling of comments. Issue #232.
Lua: Implement substyles for identifiers SCE_LUA_IDENTIFIER.
Ruby: Allow non-ASCII here-doc delimiters. Issue #234.
Ruby: Allow modifier if, unless, while and until after heredoc delimiter. Issue #236.
Rust: Recognize raw identifiers. Issue #239, Pull request #240.
Close #15042
2024-04-24 18:45:59 +02:00
|
|
|
- uses: actions/checkout@v4
|
2022-12-10 13:35:16 +01:00
|
|
|
- name: Preparing nmake
|
2022-01-05 00:07:50 +01:00
|
|
|
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 ..
|
Update to scintilla 5.5.0 & Lexilla 5.3.2
Sintilla Release 5.5.0 (https://www.scintilla.org/scintilla550.zip)
Released 23 April 2024.
Add elements for inactive additional selections SC_ELEMENT_SELECTION_INACTIVE_ADDITIONAL_TEXT and SC_ELEMENT_SELECTION_INACTIVE_ADDITIONAL_BACK. When not set these default to SC_ELEMENT_SELECTION_INACTIVE_TEXT and SC_ELEMENT_SELECTION_INACTIVE_BACK. Bug #2417.
On Cocoa, avoid use of NSUserDefaults which will soon require justification when used in applications on the App Store.
Fix Win32 IME crash in windowed mode. Bug #2433.
Scale reverse arrow cursor for margins to match other cursors when user changes pointer size. Bug #2321.
Lexilla Release 5.3.2 (https://www.scintilla.org/lexilla532.zip)
Released 23 April 2024.
COBOL: Stop string literal continuing over line end. Issue #229.
COBOL: Stop doc comment assigning different styles to \r and \n at line end. Issue #229.
COBOL: Recognize keywords that start with 'V'. Issue #230.
COBOL: Recognize comments after tag or that start with '/'. Issue #231.
HTML: Implement substyles for tags, attributes, and identifiers SCE_H_TAG, SCE_H_ATTRIBUTE, SCE_HJ_WORD, SCE_HJA_WORD, SCE_HB_WORD, SCE_HP_WORD, SCE_HPHP_WORD.
HTML: Implement context-sensitive attributes. "tag.attribute" matches "attribute" only inside "tag".
HTML: Match standard handling of comments. Issue #232.
Lua: Implement substyles for identifiers SCE_LUA_IDENTIFIER.
Ruby: Allow non-ASCII here-doc delimiters. Issue #234.
Ruby: Allow modifier if, unless, while and until after heredoc delimiter. Issue #236.
Rust: Recognize raw identifiers. Issue #239, Pull request #240.
Close #15042
2024-04-24 18:45:59 +02:00
|
|
|
- uses: actions/upload-artifact@v4
|
2023-09-22 11:32:35 +02:00
|
|
|
with:
|
|
|
|
name: lexilla.dll
|
|
|
|
path: bin/lexilla.dll
|
2022-01-05 00:07:50 +01:00
|
|
|
- name: Test lexing and folding
|
|
|
|
run: |
|
|
|
|
cd test
|
|
|
|
nmake -f testlexers.mak DEBUG=1 test
|
|
|
|
cd ..
|
|
|
|
- name: CheckLexilla C Example
|
|
|
|
run: |
|
|
|
|
cd examples/CheckLexilla
|
2024-07-22 22:36:53 +02:00
|
|
|
cl -MP CheckLexilla.c -I ../../include -Fe: CheckLexilla
|
2022-01-05 00:07:50 +01:00
|
|
|
.\CheckLexilla.exe
|
|
|
|
cd ../..
|
|
|
|
- name: SimpleLexer Example
|
|
|
|
run: |
|
|
|
|
cd examples/SimpleLexer
|
2024-07-22 22:36:53 +02:00
|
|
|
cl -MP -std:c++17 -EHsc -LD -I ../../../scintilla/include -I ../../include -I ../../lexlib SimpleLexer.cxx ../../lexlib/*.cxx
|
2022-01-05 00:07:50 +01:00
|
|
|
cd ../..
|