Skip to content
This repository was archived by the owner on May 14, 2024. It is now read-only.

Commit fa0c547

Browse files
author
Eddy Ashton
authored
Create github-actions file (#56)
* Update and rename ccpp.yml to build_and_test.yml * Use env, not with * Don't set unknown policies on old versions * Remove policy entirely, use explicit paths
1 parent 09c9e48 commit fa0c547

File tree

2 files changed

+36
-6
lines changed

2 files changed

+36
-6
lines changed

.github/workflows/build_and_test.yml

+32
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
name: eEVM Github Actions CI
2+
3+
on: [push]
4+
5+
jobs:
6+
build:
7+
8+
runs-on: ubuntu-latest
9+
10+
steps:
11+
- uses: actions/checkout@v1
12+
13+
- name: Create build directory
14+
run: mkdir build
15+
16+
- name: CMake
17+
run: cmake ..
18+
working-directory: ./build
19+
20+
- name: Make
21+
run: make VERBOSE=1
22+
working-directory: ./build
23+
24+
- name: Quick tests
25+
run: ctest -VV
26+
working-directory: ./build
27+
28+
- name: Full tests
29+
run: time ./eevm_tests -ns -d
30+
working-directory: ./build
31+
env:
32+
TEST_DIR: ../3rdparty/test_cases/

3rdparty/CMakeLists.txt

+4-6
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,12 @@
1-
cmake_policy(SET CMP0076 NEW)
2-
31
add_library(intx INTERFACE)
42
add_library(intx::intx ALIAS intx)
53

64
target_sources(intx INTERFACE
7-
intx/include/intx/intx.hpp
8-
intx/lib/intx/div.cpp
9-
intx/lib/intx/div.hpp
5+
${CMAKE_CURRENT_LIST_DIR}/intx/include/intx/intx.hpp
6+
${CMAKE_CURRENT_LIST_DIR}/intx/lib/intx/div.cpp
7+
${CMAKE_CURRENT_LIST_DIR}/intx/lib/intx/div.hpp
108
)
119

1210
target_include_directories(intx INTERFACE
13-
intx/include/
11+
${CMAKE_CURRENT_LIST_DIR}/intx/include/
1412
)

0 commit comments

Comments
 (0)