add new workloads #211
This file contains 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: build-ubuntu | |
on: push | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
strategy: | |
fail-fast: false | |
matrix: | |
build: [Debug, Release] | |
standard: [cxx23] | |
defaults: | |
run: | |
shell: bash | |
name: "${{matrix.standard}}-${{matrix.build}}" | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Install Dependency | |
run: sudo apt install libssl-dev gcc-13 g++-13 libprotobuf-c-dev libprotobuf-dev libgrpc-dev libfmt-dev llvm-14-dev libedit-dev libcxxopts-dev libpfm4-dev liblldb-dev libbenchmark-dev | |
- name: Checkout | |
run: | | |
git submodule update --init | |
cd bench/clickhouse | |
git submodule update --init | |
- name: Install Instrumented WASI SDK | |
run: | | |
cd /opt | |
sudo wget http://108.181.27.85/wasi-sdk-20.0-linux.tar.gz | |
sudo tar -xzf wasi-sdk-*.tar.gz | |
- name: Make WASI Socket Ext | |
run: | | |
cd lib/wasm-micro-runtime/samples/socket-api/ | |
cmake . | |
make -j | |
- name: configure cmake | |
run: sudo touch /usr/lib/llvm-14/lib/libMLIRSupportIndentedOstream.a && CC=gcc-13 CXX=g++-13 cmake -S $GITHUB_WORKSPACE -B ${{runner.workspace}}/build -DCMAKE_BUILD_TYPE=${{matrix.build}} -DLLVM_DIR=/usr/lib/llvm-14/lib/cmake/llvm/ | |
- name: build | |
working-directory: ${{runner.workspace}}/build | |
run: cmake --build . --config ${{matrix.build}} | |
- name: test | |
working-directory: ${{runner.workspace}}/build | |
run: ctest -V --timeout 10 | |
- name: bench | |
working-directory: ${{runner.workspace}}/build | |
run: | | |
./MVVM_benchmark |