mirror of
https://github.com/dragonflydb/dragonfly.git
synced 2025-05-11 18:35:46 +02:00
feat(github-actions): add bullmq tests in daily builds (#1511)
feat(daily-builds): add bullmq tests in daily builds Signed-off-by: Abhradeep Chakraborty <abhradeep@dragonflydb.io>
This commit is contained in:
parent
526d824079
commit
3bf755c44b
1 changed files with 21 additions and 3 deletions
24
.github/workflows/daily-builds.yml
vendored
24
.github/workflows/daily-builds.yml
vendored
|
@ -18,7 +18,7 @@ jobs:
|
|||
matrix:
|
||||
# Build with these flags
|
||||
flags: ["-DMARCH_OPT=-march=x86-64"]
|
||||
timeout-minutes: 30
|
||||
timeout-minutes: 45
|
||||
|
||||
container:
|
||||
image: ghcr.io/romange/alpine-dev:latest
|
||||
|
@ -30,6 +30,12 @@ jobs:
|
|||
- uses: actions/checkout@v3
|
||||
with:
|
||||
submodules: true
|
||||
- name: Install NodeJs
|
||||
run: |
|
||||
apk add --no-cache nodejs npm yarn
|
||||
node --version
|
||||
npm --version
|
||||
yarn --version
|
||||
- name: Install dependencies
|
||||
run: |
|
||||
uname -a
|
||||
|
@ -50,11 +56,23 @@ jobs:
|
|||
# Configure CMake in a 'build' subdirectory. `CMAKE_BUILD_TYPE` is only required if you are using a single-configuration generator such as make.
|
||||
# See https://cmake.org/cmake/help/latest/variable/CMAKE_BUILD_TYPE.html?highlight=cmake_build_type
|
||||
run: |
|
||||
cmake -B ${{github.workspace}}/build -DCMAKE_BUILD_TYPE=Debug -GNinja -DCMAKE_CXX_COMPILER_LAUNCHER=ccache ${{ matrix.flags }}
|
||||
cmake -B ${{github.workspace}}/build -DCMAKE_BUILD_TYPE=Release -GNinja -DCMAKE_CXX_COMPILER_LAUNCHER=ccache ${{ matrix.flags }}
|
||||
cd ${{github.workspace}}/build && pwd
|
||||
du -hcs _deps/
|
||||
- name: Build
|
||||
- name: Build & Run
|
||||
run: |
|
||||
cd ${{github.workspace}}/build
|
||||
ninja src/all
|
||||
ccache --show-stats
|
||||
./dragonfly --alsologtostderr --default_lua_flags=allow-undeclared-keys &
|
||||
- name: Clone and build BullMQ
|
||||
run: |
|
||||
cd ${{github.workspace}}
|
||||
git clone https://github.com/taskforcesh/bullmq.git
|
||||
cd bullmq
|
||||
yarn install --ignore-engines --frozen-lockfile --non-interactive
|
||||
yarn build
|
||||
- name: Test BullMQ with dragonfly
|
||||
run: |
|
||||
cd ${{github.workspace}}/bullmq
|
||||
yarn test -i -g "should process delayed jobs with several workers respecting delay"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue