File tree Expand file tree Collapse file tree 3 files changed +39
-1
lines changed Expand file tree Collapse file tree 3 files changed +39
-1
lines changed Original file line number Diff line number Diff line change 1+ name : Ubuntu-amd64
2+
3+ on : [push, pull_request]
4+
5+ jobs :
6+ build :
7+ runs-on : ubuntu-latest
8+
9+ steps :
10+ - uses : actions/checkout@v2
11+ - name : cmake build
12+ run : cmake -S . -B build -DCMAKE_BUILD_TYPE=Release
13+ - name : cmake make
14+ run : cmake --build build --parallel 3
15+ - name : test
16+ run : |
17+ cd build/test
18+ ./popl_test
Original file line number Diff line number Diff line change 1+ name : Windows-win64
2+
3+ on : [push, pull_request]
4+
5+ jobs :
6+ build :
7+ runs-on : windows-latest
8+
9+ steps :
10+ - uses : actions/checkout@v2
11+ - name : cmake build
12+ run : cmake -S . -B build
13+ - name : cmake make
14+ run : cmake --build build --parallel 3
15+ - name : test
16+ run : |
17+ cd D:\a\popl\popl\build\test
18+ dir
19+ pwd
20+ .\Debug\popl_test.exe
Original file line number Diff line number Diff line change @@ -23,7 +23,7 @@ TEST_CASE("command line")
2323
2424 try
2525 {
26- op.parse (args.size (), args.data ());
26+ op.parse (static_cast < int >( args.size () ), args.data ());
2727 REQUIRE (help_option->count () == 1 );
2828 REQUIRE (int_option->is_set () == false );
2929 REQUIRE (int_option->count () == 0 );
You can’t perform that action at this time.
0 commit comments