Skip to content

Commit

Permalink
cleanup ci
Browse files Browse the repository at this point in the history
  • Loading branch information
idealvin committed Sep 22, 2021
1 parent b4bba24 commit d075637
Show file tree
Hide file tree
Showing 5 changed files with 3 additions and 6 deletions.
1 change: 0 additions & 1 deletion .github/workflows/fedora.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@ jobs:
XMAKE_ROOT: y
run: |
xmake -a
xmake r unitest -a
xmake r flag -xy
xmake f -m debug
xmake -a
1 change: 0 additions & 1 deletion .github/workflows/linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@ jobs:
- name: Tests
run: |
xmake -a
xmake r unitest -a
xmake r flag -xy
xmake f -m debug
xmake -a
1 change: 0 additions & 1 deletion .github/workflows/macos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,5 @@ jobs:
- name: Tests
run: |
xmake -a
xmake r unitest -a
xmake f -m debug
xmake -a
1 change: 0 additions & 1 deletion .github/workflows/win.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@ jobs:
run: |
xmake f -a ${{ matrix.arch }}
xmake -a
xmake r unitest -a
xmake r flag -xy
xmake f -m debug -a ${{ matrix.arch }}
xmake -a
5 changes: 3 additions & 2 deletions unitest/main.cc
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,9 @@
DEC_uint32(co_sched_num);

int main(int argc, char** argv) {
FLG_co_sched_num = 4;
co::init(argc, argv);
flag::init(argc, argv);
FLG_co_sched_num = 8;
co::init();
unitest::run_all_tests();
co::exit();
return 0;
Expand Down

0 comments on commit d075637

Please sign in to comment.