Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(build): remove run.sh in rdsn #1041

Merged
merged 10 commits into from
Jul 11, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 0 additions & 2 deletions .github/workflows/rdsn_cron_compile_jobs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -62,11 +62,9 @@ jobs:
working-directory: rdsn
run: unzip /root/thirdparties-bin.zip -d ./thirdparty
- name: Compilation on GCC
working-directory: rdsn
if: ${{ matrix.compiler-family == 'gcc' }}
run: ./run.sh build -c --skip_thirdparty
- name: Compilation on Clang
working-directory: rdsn
if: ${{ matrix.compiler-family == 'clang' }}
env:
COMPILER: ${{ matrix.compiler }}
Expand Down
33 changes: 8 additions & 25 deletions .github/workflows/test_rdsn.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,6 @@ on:
- rdsn/bin/**
- rdsn/compile_thrift.py
- rdsn/include/**
- rdsn/run.sh
- rdsn/scripts/**
- rdsn/src/**
- rdsn/thirdparty/**
Expand Down Expand Up @@ -83,15 +82,11 @@ jobs:
mkdir build
cmake -DCMAKE_BUILD_TYPE=Release -B build/
cmake --build build/ -j $(($(nproc)/2+1))
- name: Compilation
working-directory: rdsn
run: ./run.sh build -c --skip_thirdparty -j $(($(nproc)/2+1))
- name: Unit Testing
working-directory: rdsn
- name: Compilation and Unit Testing
run: |
export LD_LIBRARY_PATH=`pwd`/thirdparty/output/lib:/usr/lib/jvm/java-8-openjdk-amd64/jre/lib/amd64/server
ulimit -s unlimited
./run.sh test --skip_thirdparty -j $(($(nproc)/2+1))
./run.sh build -c --rdsn --test --skip_thirdparty -j $(($(nproc)/2+1))

test-with-sanitizer-address:
name: Test With Sanitizer Address
Expand Down Expand Up @@ -125,15 +120,11 @@ jobs:
mkdir build
cmake -DCMAKE_BUILD_TYPE=Release -B build/
cmake --build build/ -j $(($(nproc)/2+1))
- name: Compilation
working-directory: rdsn
run: ./run.sh build -c --sanitizer address --skip_thirdparty --disable_gperf -j $(($(nproc)/2+1))
- name: Unit Testing
working-directory: rdsn
- name: Compilation and Unit Testing
run: |
export LD_LIBRARY_PATH=`pwd`/thirdparty/output/lib:/usr/lib/jvm/java-8-openjdk-amd64/jre/lib/amd64/server
ulimit -s unlimited
./run.sh test --sanitizer address --skip_thirdparty --disable_gperf -j $(($(nproc)/2+1))
./run.sh build -c --rdsn --test --sanitizer address --skip_thirdparty --disable_gperf -j $(($(nproc)/2+1))

test-with-sanitizer-leak:
name: Test With Sanitizer Leak
Expand Down Expand Up @@ -167,15 +158,11 @@ jobs:
mkdir build
cmake -DCMAKE_BUILD_TYPE=Release -B build/
cmake --build build/ -j $(($(nproc)/2+1))
- name: Compilation
working-directory: rdsn
run: ./run.sh build -c --sanitizer leak --skip_thirdparty --disable_gperf -j $(($(nproc)/2+1))
- name: Unit Testing
working-directory: rdsn
- name: Compilation and Unit Testing
run: |
export LD_LIBRARY_PATH=`pwd`/thirdparty/output/lib:/usr/lib/jvm/java-8-openjdk-amd64/jre/lib/amd64/server
ulimit -s unlimited
./run.sh test --sanitizer leak --skip_thirdparty --disable_gperf -j $(($(nproc)/2+1))
./run.sh build -c --rdsn --test --sanitizer leak --skip_thirdparty --disable_gperf -j $(($(nproc)/2+1))

test-with-sanitizer-undefined:
name: Test With Sanitizer Undefined
Expand Down Expand Up @@ -209,12 +196,8 @@ jobs:
mkdir build
cmake -DCMAKE_BUILD_TYPE=Release -B build/
cmake --build build/ -j $(($(nproc)/2+1))
- name: Compilation
working-directory: rdsn
run: ./run.sh build -c --sanitizer undefined --skip_thirdparty --disable_gperf -j $(($(nproc)/2+1))
- name: Unit Testing
working-directory: rdsn
- name: Compilation and Unit Testing
run: |
export LD_LIBRARY_PATH=`pwd`/thirdparty/output/lib:/usr/lib/jvm/java-8-openjdk-amd64/jre/lib/amd64/server
ulimit -s unlimited
./run.sh test --sanitizer undefined --skip_thirdparty --disable_gperf -j $(($(nproc)/2+1))
./run.sh build -c --rdsn --test --sanitizer undefined --skip_thirdparty --disable_gperf -j $(($(nproc)/2+1))
1 change: 0 additions & 1 deletion .github/workflows/test_rdsn_always_pass.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@ on:
- rdsn/bin/**
- rdsn/compile_thrift.py
- rdsn/include/**
- rdsn/run.sh
- rdsn/scripts/**
- rdsn/src/**
- rdsn/thirdparty/**
Expand Down
4 changes: 0 additions & 4 deletions .licenserc.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -202,13 +202,9 @@ header:
- 'rdsn/include/dsn/utility/utils.h'
- 'rdsn/include/dsn/utility/work_queue.h'
- 'rdsn/include/dsn/utils/time_utils.h'
- 'rdsn/run.sh'
- 'rdsn/scripts/linux/build.sh'
- 'rdsn/scripts/linux/clear_zk.sh'
- 'rdsn/scripts/linux/install.sh'
- 'rdsn/scripts/linux/learn_stat.py'
- 'rdsn/scripts/linux/start_zk.sh'
- 'rdsn/scripts/linux/stop_zk.sh'
- 'rdsn/src/aio/aio_provider.cpp'
- 'rdsn/src/aio/aio_provider.h'
- 'rdsn/src/aio/disk_engine.cpp'
Expand Down
Loading