Skip to content

Support dynamic stack allocation #72

Support dynamic stack allocation

Support dynamic stack allocation #72

name: EVM compiler testing
on:
pull_request:
branches: [ evm-compiler ]
push:
branches: [ evm-compiler ]
jobs:
test:
runs-on: [self-hosted, Linux, X64, aws_autoscaling]
name: EVM compiler tests
env:
DBMS_USER: ${{ secrets.DBMS_USER }}
DBMS_PASSWORD: ${{ secrets.DBMS_PASSWORD }}
container:
image: ubuntu:22.04
steps:
- name: Install dependencies
run: |
env && \
apt update && \
apt install -y \
build-essential \
cmake \
ninja-build \
git \
libboost-all-dev \
python3 \
ruby-dev && \
gem install keccak256
- name: Install dbms
run: |
echo "deb [trusted=yes] https://${{ env.DBMS_USER }}:${{ env.DBMS_PASSWORD }}@d3fr4n1vs5nw39.cloudfront.net/ubuntu all main" > /etc/apt/sources.list.d/dbms.list && \
apt update && \
apt install -y dbms
- name: Checkout sources
uses: actions/checkout@v3
with:
fetch-depth: 0
submodules: true
- name: Build
run: bash llvm/projects/evm-tests/run_evm_tests.sh build-debug
- name: Run regression EVM tests
run: bash llvm/projects/evm-tests/run_evm_tests.sh test vm_run
build_release:
runs-on: [self-hosted, tests-runner]
name: Release build
steps:
- name: checkout
uses: actions/checkout@v3
with:
submodules: true
- name: Setup Cmake
uses: jwlawson/[email protected]
with:
cmake-version: '3.22.x'
- name: Build
run: bash llvm/projects/evm-tests/run_evm_tests.sh build-release