Skip to content

Commit

Permalink
Remove the pr labelled condition and add macos test (apache#464)
Browse files Browse the repository at this point in the history
  • Loading branch information
git-hulk authored and ShooterIT committed Jan 27, 2022
1 parent 5f1a308 commit 57aba16
Showing 1 changed file with 24 additions and 4 deletions.
Original file line number Diff line number Diff line change
@@ -1,19 +1,16 @@
name: run ci without jemalloc
name: Daily CI

on:
schedule:
# Daily run this action at 1am
- cron: '0 1 * * *'
pull_request:
types: [labeled]

jobs:
build-on-ubuntu-without-jemalloc:
strategy:
matrix:
os: [ubuntu-18.04]

if: ${{ github.event.label.name == 'run ci without jemalloc' }}
runs-on: ${{ matrix.os }}
steps:
- name: Checkout Code Base
Expand All @@ -33,3 +30,26 @@ jobs:
run: |
sudo apt-get install tcl8.5
cd tests/tcl && sh runtest && cd -
build-test-on-macos-latest:
runs-on: macos-latest
steps:
- name: Checkout Code Base
uses: actions/checkout@v2.3.4
with:
fetch-depth: 64

- name: Install Dependencies
run: |
brew install snappy googletest gcc autoconf automake libtool
mkdir build
- name: Build
run: |
make -j4
cp src/kvrocks build/kvrocks
- name: Unit Test
run: make test

- name: Redis Tcl Test
run:
cd tests/tcl && sh runtest && cd -

0 comments on commit 57aba16

Please sign in to comment.