mirror of
https://github.com/Snapchat/KeyDB.git
synced 2026-11-07 01:42:35 -05:00
90 lines
2.2 KiB
YAML
90 lines
2.2 KiB
YAML
name: Daily
|
|
|
|
on:
|
|
schedule:
|
|
- cron: '0 7 * * *'
|
|
|
|
jobs:
|
|
|
|
test-jemalloc:
|
|
runs-on: ubuntu-latest
|
|
timeout-minutes: 1200
|
|
steps:
|
|
- uses: actions/checkout@v1
|
|
- name: make
|
|
run: |
|
|
sudo apt-get -y install uuid-dev libcurl4-openssl-dev
|
|
make
|
|
- name: test
|
|
run: |
|
|
sudo apt-get install tcl8.5
|
|
./runtest --accurate --verbose
|
|
- name: module api test
|
|
run: ./runtest-moduleapi --verbose
|
|
|
|
test-libc-malloc:
|
|
runs-on: ubuntu-latest
|
|
timeout-minutes: 1200
|
|
steps:
|
|
- uses: actions/checkout@v1
|
|
- name: make
|
|
run: |
|
|
sudo apt-get -y install uuid-dev libcurl4-openssl-dev
|
|
make MALLOC=libc
|
|
- name: test
|
|
run: |
|
|
sudo apt-get install tcl8.5
|
|
./runtest --accurate --verbose
|
|
- name: module api test
|
|
run: ./runtest-moduleapi --verbose
|
|
|
|
test:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v1
|
|
- name: make
|
|
run: |
|
|
sudo apt-get -y install uuid-dev libcurl4-openssl-dev
|
|
make BUILD_TLS=yes -j2
|
|
- name: "test (tls)"
|
|
run: |
|
|
sudo apt-get install tcl8.5 tcl-tls
|
|
./utils/gen-test-certs.sh
|
|
./runtest --accurate --verbose --tls
|
|
- name: test
|
|
run: ./runtest --accurate --verbose
|
|
- name: module api test (tls)
|
|
run: ./runtest-moduleapi --verbose --tls
|
|
|
|
test-ubuntu-arm:
|
|
runs-on: [self-hosted, linux, arm]
|
|
steps:
|
|
- uses: actions/checkout@v1
|
|
- name: make
|
|
run: |
|
|
sudo apt-get -y install uuid-dev libcurl4-openssl-dev
|
|
make -j4
|
|
- name: test
|
|
run: |
|
|
sudo apt-get -y install tcl8.5
|
|
./runtest --clients 2 --verbose
|
|
- name: module tests
|
|
run: |
|
|
./runtest-moduleapi
|
|
|
|
test-valgrind:
|
|
runs-on: ubuntu-latest
|
|
timeout-minutes: 14400
|
|
steps:
|
|
- uses: actions/checkout@v1
|
|
- name: make
|
|
run: |
|
|
sudo apt-get -y install uuid-dev libcurl4-openssl-dev
|
|
make valgrind
|
|
- name: test
|
|
run: |
|
|
sudo apt-get install tcl8.5 valgrind -y
|
|
./runtest --valgrind --verbose --clients 1
|
|
- name: module api test
|
|
run: ./runtest-moduleapi --valgrind --verbose --clients 1
|