Merge remote-tracking branch 'krobelus/fix-ci'

This commit is contained in:
Maxime Coste 2023-03-13 21:30:36 +11:00
commit 81526e4253
3 changed files with 9 additions and 3 deletions

View File

@ -22,7 +22,7 @@ linux_task:
matrix: matrix:
- name: linux_clang - name: linux_clang
container: container:
image: silkeh/clang:10 image: silkeh/clang:11
env: env:
CXX: clang++ CXX: clang++
- name: linux_gcc - name: linux_gcc
@ -39,9 +39,12 @@ macos_task:
- name: macos_clang - name: macos_clang
clang_script: brew install llvm@11 clang_script: brew install llvm@11
env: env:
CXX: /usr/local/opt/llvm@11/bin/clang++ CXX: /opt/homebrew/opt/llvm@11/bin/clang++
- name: macos_gcc - name: macos_gcc
gcc_script: brew install gcc@10 gcc_script:
- /usr/sbin/softwareupdate --install-rosetta --agree-to-license
- arch -x86_64 /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install.sh)"
- arch -x86_64 /usr/local/bin/brew install gcc@10
env: env:
CXX: g++-10 CXX: g++-10
test_script: make -j4 test test_script: make -j4 test

View File

@ -9,3 +9,4 @@ sleep .1
ui_in '{ "jsonrpc": "2.0", "method": "mouse_release", "params": [ "left", 0, 4 ] }' ui_in '{ "jsonrpc": "2.0", "method": "mouse_release", "params": [ "left", 0, 4 ] }'
sleep .1 sleep .1
ui_in '{ "jsonrpc": "2.0", "method": "keys", "params": [ "c<esc>" ] }' ui_in '{ "jsonrpc": "2.0", "method": "keys", "params": [ "c<esc>" ] }'
sleep .1

View File

@ -0,0 +1,2 @@
#!/bin/sh
[ $(echo -n "⌛" | wc -m) = '1' ] && locale | grep LC_CTYPE | grep -qi 'utf-*8'