Skip to content

Commit

Permalink
Squashed 'deps/ccommon/' changes from 9caf864d..cc7b9fc5 (#358)
Browse files Browse the repository at this point in the history
cc7b9fc5 increase tick interval for cc_wheel tests (#255)
9a3255dd Delete flaky assert within check_pipe (#254)

git-subtree-dir: deps/ccommon
git-subtree-split: cc7b9fc5497347c911574f9a761317e300954f8f
  • Loading branch information
brayniac authored Oct 26, 2021
1 parent 8508b59 commit 5f74b97
Show file tree
Hide file tree
Showing 2 changed files with 37 additions and 2 deletions.
35 changes: 35 additions & 0 deletions deps/ccommon/.github/workflows/cmake.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
on:
push:
pull_request:

env:
CARGO_TERM_COLOR: always
RUST_BACKTRACE: full

jobs:
build:
strategy:
matrix:
os: [ ubuntu-18.04, macos-10.15 ]
profile: [ Release ]
name: build-${{ matrix.os }}-${{ matrix.profile }}
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v2

- name: Configure
run: |
mkdir -p _build
cmake -B _build -S . \
-DCMAKE_BUILD_TYPE=${{ matrix.profile }} \
-DBUILD_AND_INSTALL_CHECK=yes
- name: Build
run: |
cmake --build _build
- name: Test
run: |
cmake --build _build --target test
env:
CTEST_OUTPUT_ON_FAILURE: 1
4 changes: 2 additions & 2 deletions deps/ccommon/test/time/wheel/check_wheel.c
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ _incr_cb(void *v)

START_TEST(test_timing_wheel_basic)
{
#define TICK_NS 1000000
#define TICK_NS 100000000
#define NSLOT 3
#define NTICK 2

Expand Down Expand Up @@ -182,7 +182,7 @@ END_TEST

START_TEST(test_timing_wheel_edge_case)
{
#define TICK_NS 1000000
#define TICK_NS 100000000
#define NSLOT 3
#define NTICK 2

Expand Down

0 comments on commit 5f74b97

Please sign in to comment.