1
0
mirror of https://github.com/janet-lang/janet synced 2024-06-18 11:19:56 +00:00

Add msys2 testing with github actions.

This commit is contained in:
Calvin Rose 2023-01-22 11:05:27 -06:00
parent 85f2acbf52
commit f8ddea6452
2 changed files with 23 additions and 0 deletions

View File

@ -35,3 +35,23 @@ jobs:
- name: Test the project
shell: cmd
run: build_win test
test-mingw:
name: Build on Windows with Mingw (no test yet)
runs-on: windows-latest
defaults:
run:
shell: msys2 {0}
steps:
- name: Checkout the repository
uses: actions/checkout@master
- name: Setup Mingw
uses: msys2/setup-msys2@v2
with:
update: true
install: >-
base-devel
git
- name: Build the project
shell: cmd
run: make -j

View File

@ -33,6 +33,9 @@
#ifndef ENABLE_VIRTUAL_TERMINAL_PROCESSING
#define ENABLE_VIRTUAL_TERMINAL_PROCESSING 0x0004
#endif
#ifndef ENABLE_VIRTUAL_TERMINAL_INPUT
#define ENABLE_VIRTUAL_TERMINAL_INPUT 0x0200
#endif
#endif
void janet_line_init();