Remove autoconf tasks from GitHub actions

This commit is contained in:
Serge Lamikhov-Center 2022-02-08 17:42:05 +02:00
parent 353124468f
commit 33fe3ac8c8
5 changed files with 9 additions and 5522 deletions

View File

@ -7,30 +7,8 @@ on:
branches: [ master ]
jobs:
build_autoconf:
name: autoconf build & test
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: compile and run examples
run: |
cmake -B build -D ELFIO_BUILD_EXAMPLES=ON
cmake --build build
- name: compile and run tests
run: |
sudo apt-get install libboost-test-dev
cd tests
autoreconf -i -f
./configure
make
make check
- name: make distcheck
run: make distcheck
build_cmake:
name: cmake build & test
name: CMake Build & Test
env:
BUILD_TYPE: Release
@ -45,6 +23,11 @@ jobs:
steps:
- uses: actions/checkout@v2
- name: Configure CMake
run: cmake -B build -DCMAKE_BUILD_TYPE=${{ matrix.build_type }} -DELFIO_BUILD_EXAMPLES=YES
run: cmake -B build -DCMAKE_BUILD_TYPE=${{ matrix.build_type }} -DELFIO_BUILD_EXAMPLES=YES -DELFIO_BUILD_TESTS=YES
- name: Build
run: cmake --build build --config ${{ matrix.build_type }}
- name: test
run: |
cd tests
ctest -VV
cd ..

View File

@ -33,8 +33,8 @@ jobs:
# If this run was triggered by a pull request event, then checkout
# the head of the pull request instead of the merge commit.
- run: git checkout HEAD^2
if: ${{ github.event_name == 'pull_request' }}
#- run: git checkout HEAD^2
# if: ${{ github.event_name == 'pull_request' }}
# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL

1085
tests/aclocal.m4 vendored

File diff suppressed because it is too large Load Diff

4404
tests/configure vendored

File diff suppressed because it is too large Load Diff

View File

@ -1,7 +0,0 @@
AC_INIT([ELFIOTest],m4_bregexp(m4_quote(m4_include([../elfio/elfio_version.hpp])), [[0-9]+\.[0-9]+], [\&]))
AM_INIT_AUTOMAKE([-Wall -Werror foreign])
AC_PROG_CXX
AC_CONFIG_FILES([
Makefile
])
AC_OUTPUT