Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
F
FTXUI
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Will2.Mcgregor@live.uwe.ac.uk
FTXUI
Commits
a6a7f0a3
Unverified
Commit
a6a7f0a3
authored
4 years ago
by
Arthur Sonzogni
Committed by
GitHub
4 years ago
Browse files
Options
Downloads
Patches
Plain Diff
Add CI on github action. (#76)
parent
af4bf379
No related branches found
No related tags found
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
.github/workflows/continuous-integration.yaml
+78
-0
78 additions, 0 deletions
.github/workflows/continuous-integration.yaml
src/ftxui/component/screen_interactive.cpp
+2
-0
2 additions, 0 deletions
src/ftxui/component/screen_interactive.cpp
with
80 additions
and
0 deletions
.github/workflows/continuous-integration.yaml
0 → 100644
+
78
−
0
View file @
a6a7f0a3
name
:
Build and run tests
on
:
-
push
-
pull_request
jobs
:
build
:
name
:
${{ matrix.config.name }}
runs-on
:
${{ matrix.config.os }}
strategy
:
fail-fast
:
false
matrix
:
config
:
-
name
:
"
Windows
Latest
-
MSVC"
os
:
windows-latest
cc
:
"
cl"
cxx
:
"
cl"
cmake
:
cmake
test
:
false
-
name
:
"
Ubuntu
Latest
-
GCC"
os
:
ubuntu-latest
cc
:
"
gcc-9"
cxx
:
"
g++-9"
cmake
:
"
cmake"
test
:
true
-
name
:
"
Ubuntu
Latest
-
Clang"
os
:
ubuntu-latest
cc
:
"
clang-9"
cxx
:
"
clang++-9"
cmake
:
"
cmake"
test
:
true
-
name
:
"
Ubuntu
Latest
-
Emscripten"
os
:
ubuntu-latest
cc
:
"
emcc"
cxx
:
"
em++"
cmake
:
"
emcmake
cmake"
test
:
false
-
name
:
"
macOS
Latest
Clang"
os
:
macos-latest
artifact
:
"
macos_clang.7z"
build_type
:
"
Release"
cc
:
"
clang"
cxx
:
"
clang++"
cmake
:
cmake
test
:
true
steps
:
-
uses
:
actions/checkout@v2
-
uses
:
seanmiddleditch/gha-setup-ninja@master
-
name
:
Set Windows ENV
if
:
runner.os == 'Windows'
uses
:
ilammy/msvc-dev-cmd@v1
-
name
:
Setup Emscripten
if
:
${{ matrix.config.cc == 'emcc' }}
uses
:
mymindstorm/setup-emsdk@v7
-
name
:
Build
run
:
>
mkdir build;
cd build;
${{ matrix.config.cmake }}
..
-DCMAKE_CXX_COMPILER=${{ matrix.config.cxx }}
-DFTXUI_BUILD_TESTS=ON;
cmake --build . --config Release;
-
name
:
Tests
if
:
${{ matrix.config.test }}
run
:
>
cd build;
./tests
This diff is collapsed.
Click to expand it.
src/ftxui/component/screen_interactive.cpp
+
2
−
0
View file @
a6a7f0a3
...
...
@@ -92,6 +92,8 @@ void EventListener(std::atomic<bool>* quit,
#else
#include
<sys/time.h>
int
CheckStdinReady
(
int
usec_timeout
)
{
timeval
tv
=
{
0
,
usec_timeout
};
fd_set
fds
;
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment