[fix] decoupling librocksdb.a #110
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: External Server Tests | |
| on: | |
| pull_request: | |
| push: | |
| schedule: | |
| - cron: '0 0 * * *' | |
| jobs: | |
| test-external-standalone: | |
| runs-on: ubuntu-latest | |
| if: github.event_name != 'schedule' || github.repository == 'redis/redis' | |
| timeout-minutes: 14400 | |
| steps: | |
| - uses: actions/checkout@v4 | |
| with: | |
| submodules: true | |
| - name: install dependencies | |
| run: | | |
| sudo apt-get update | |
| sudo apt-get -y install tcl8.6 tclx libsnappy-dev zlib1g-dev libstdc++6 liburing-dev libevent-dev libgoogle-glog-dev | |
| - name: Build | |
| run: make -j8 | |
| - name: Start redis-server | |
| run: | | |
| ./src/redis-server --daemonize yes --save "" --logfile external-redis.log \ | |
| --enable-protected-configs yes --enable-debug-command yes --enable-module-command yes | |
| - name: Run external test | |
| run: | | |
| ./runtest \ | |
| --host 127.0.0.1 --port 6379 \ | |
| --verbose \ | |
| --tags -slow | |
| - name: Archive redis log | |
| if: ${{ failure() }} | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: test-external-redis-log | |
| path: external-redis.log | |
| test-external-cluster: | |
| runs-on: ubuntu-latest | |
| if: github.event_name != 'schedule' || github.repository == 'redis/redis' | |
| timeout-minutes: 14400 | |
| steps: | |
| - uses: actions/checkout@v4 | |
| with: | |
| submodules: true | |
| - name: install dependencies | |
| run: | | |
| sudo apt-get update | |
| sudo apt-get -y install tcl8.6 tclx libsnappy-dev zlib1g-dev libstdc++6 liburing-dev libevent-dev libgoogle-glog-dev | |
| - name: Build | |
| run: make -j8 | |
| - name: Start redis-server | |
| run: | | |
| ./src/redis-server --cluster-enabled yes --daemonize yes --save "" --logfile external-redis-cluster.log \ | |
| --enable-protected-configs yes --enable-debug-command yes --enable-module-command yes | |
| - name: Create a single node cluster | |
| run: ./src/redis-cli cluster addslots $(for slot in {0..16383}; do echo $slot; done); sleep 5 | |
| - name: Run external test | |
| run: | | |
| ./runtest \ | |
| --host 127.0.0.1 --port 6379 \ | |
| --verbose \ | |
| --cluster-mode \ | |
| --tags -slow | |
| - name: Archive redis log | |
| if: ${{ failure() }} | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: test-external-cluster-log | |
| path: external-redis-cluster.log | |
| test-external-nodebug: | |
| runs-on: ubuntu-latest | |
| if: github.event_name != 'schedule' || github.repository == 'redis/redis' | |
| timeout-minutes: 14400 | |
| steps: | |
| - uses: actions/checkout@v4 | |
| with: | |
| submodules: true | |
| - name: install dependencies | |
| run: | | |
| sudo apt-get update | |
| sudo apt-get -y install tcl8.6 tclx libsnappy-dev zlib1g-dev libstdc++6 liburing-dev libevent-dev libgoogle-glog-dev | |
| - name: Build | |
| run: make -j8 | |
| - name: Start redis-server | |
| run: | | |
| ./src/redis-server --daemonize yes --save "" --logfile external-redis-nodebug.log | |
| - name: Run external test | |
| run: | | |
| ./runtest \ | |
| --host 127.0.0.1 --port 6379 \ | |
| --verbose \ | |
| --tags "-slow -needs:debug" | |
| - name: Archive redis log | |
| if: ${{ failure() }} | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: test-external-redis-nodebug-log | |
| path: external-redis-nodebug.log |