Skip to content

Emulate API, refactor trace emulator #2

Emulate API, refactor trace emulator

Emulate API, refactor trace emulator #2

Workflow file for this run

name: Test pull request
on:
pull_request:
branches: [ "main" ]
permissions:
contents: read
env:
BUILD_TYPE: Release
jobs:
build:
runs-on: ubuntu-22.04
steps:
- name: Check out repository
uses: actions/checkout@v3
with:
submodules: 'recursive'
- name: Install system libraries
run: |
sudo apt-get update
sudo apt-get install -y build-essential git cmake ninja-build zlib1g-dev libsecp256k1-dev libmicrohttpd-dev libsodium-dev liblz4-dev libjemalloc-dev
wget https://apt.llvm.org/llvm.sh
chmod +x llvm.sh
sudo ./llvm.sh 16 all
- name: Configure CMake
run: cmake -B ${{github.workspace}}/build
- name: Build
# Build your program with the given configuration
run: cmake --build ${{github.workspace}}/build --config ${{env.BUILD_TYPE}}
- name: Test
working-directory: ${{github.workspace}}/build
run: ./tondb-scanner/test-tondb