File tree Expand file tree Collapse file tree 1 file changed +41
-0
lines changed Expand file tree Collapse file tree 1 file changed +41
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : C/C++ CI
2
+
3
+ on :
4
+ push :
5
+ branches : [ "master" ]
6
+ pull_request :
7
+ branches : [ "master" ]
8
+
9
+ jobs :
10
+ ubuntu :
11
+
12
+ runs-on : ubuntu-latest
13
+
14
+ steps :
15
+ - uses : actions/checkout@v3
16
+ - name : Clone fast_io
17
+ run : git clone -b next https://github.com/trcrsired/fast_io
18
+ - name : Install ninja-build tool
19
+ uses : seanmiddleditch/gha-setup-ninja@v4
20
+ - name : cmake
21
+ run : cmake -GNinja . -DCMAKE_BUILD_TYPE=Release -DFAST_IO_DIR=fast_io
22
+ - name : ninja
23
+ run : ninja
24
+ - name : ctest running bench
25
+ run : ctest --verbose
26
+
27
+ windows :
28
+
29
+ runs-on : windows-latest
30
+
31
+ steps :
32
+ - uses : actions/checkout@v2
33
+ - uses : ilammy/msvc-dev-cmd@v1.4.1
34
+ - name : Clone fast_io
35
+ run : git clone -b next https://github.com/trcrsired/fast_io
36
+ - name : cmake
37
+ run : cmake -GNinja . -DCMAKE_BUILD_TYPE=Release -DCMAKE_C_COMPILER=cl -DCMAKE_CXX_COMPILER=cl -DFAST_IO_DIR=fast_io
38
+ - name : ninja
39
+ run : ninja
40
+ - name : ctest running bench
41
+ run : ctest --verbose
You can’t perform that action at this time.
0 commit comments