зеркало из https://github.com/microsoft/eEVM.git
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
This commit is contained in:
Родитель
09c9e489ee
Коммит
fa0c547f57
|
@ -0,0 +1,32 @@
|
|||
name: eEVM Github Actions CI
|
||||
|
||||
on: [push]
|
||||
|
||||
jobs:
|
||||
build:
|
||||
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v1
|
||||
|
||||
- name: Create build directory
|
||||
run: mkdir build
|
||||
|
||||
- name: CMake
|
||||
run: cmake ..
|
||||
working-directory: ./build
|
||||
|
||||
- name: Make
|
||||
run: make VERBOSE=1
|
||||
working-directory: ./build
|
||||
|
||||
- name: Quick tests
|
||||
run: ctest -VV
|
||||
working-directory: ./build
|
||||
|
||||
- name: Full tests
|
||||
run: time ./eevm_tests -ns -d
|
||||
working-directory: ./build
|
||||
env:
|
||||
TEST_DIR: ../3rdparty/test_cases/
|
|
@ -1,14 +1,12 @@
|
|||
cmake_policy(SET CMP0076 NEW)
|
||||
|
||||
add_library(intx INTERFACE)
|
||||
add_library(intx::intx ALIAS intx)
|
||||
|
||||
target_sources(intx INTERFACE
|
||||
intx/include/intx/intx.hpp
|
||||
intx/lib/intx/div.cpp
|
||||
intx/lib/intx/div.hpp
|
||||
${CMAKE_CURRENT_LIST_DIR}/intx/include/intx/intx.hpp
|
||||
${CMAKE_CURRENT_LIST_DIR}/intx/lib/intx/div.cpp
|
||||
${CMAKE_CURRENT_LIST_DIR}/intx/lib/intx/div.hpp
|
||||
)
|
||||
|
||||
target_include_directories(intx INTERFACE
|
||||
intx/include/
|
||||
${CMAKE_CURRENT_LIST_DIR}/intx/include/
|
||||
)
|
Загрузка…
Ссылка в новой задаче