-
Notifications
You must be signed in to change notification settings - Fork 7
59 lines (57 loc) · 1.67 KB
/
evm-compiler-push.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
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