mirror of
https://github.com/serge1/ELFIO.git
synced 2025-01-30 06:32:43 +00:00
Remove autoconf tasks from GitHub actions
This commit is contained in:
parent
353124468f
commit
33fe3ac8c8
31
.github/workflows/c-cpp.yml
vendored
31
.github/workflows/c-cpp.yml
vendored
@ -7,30 +7,8 @@ on:
|
|||||||
branches: [ master ]
|
branches: [ master ]
|
||||||
|
|
||||||
jobs:
|
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:
|
build_cmake:
|
||||||
name: cmake build & test
|
name: CMake Build & Test
|
||||||
|
|
||||||
env:
|
env:
|
||||||
BUILD_TYPE: Release
|
BUILD_TYPE: Release
|
||||||
@ -45,6 +23,11 @@ jobs:
|
|||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
- name: Configure CMake
|
- 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
|
- name: Build
|
||||||
run: cmake --build build --config ${{ matrix.build_type }}
|
run: cmake --build build --config ${{ matrix.build_type }}
|
||||||
|
- name: test
|
||||||
|
run: |
|
||||||
|
cd tests
|
||||||
|
ctest -VV
|
||||||
|
cd ..
|
||||||
|
4
.github/workflows/codeql-analysis.yml
vendored
4
.github/workflows/codeql-analysis.yml
vendored
@ -33,8 +33,8 @@ jobs:
|
|||||||
|
|
||||||
# If this run was triggered by a pull request event, then checkout
|
# If this run was triggered by a pull request event, then checkout
|
||||||
# the head of the pull request instead of the merge commit.
|
# the head of the pull request instead of the merge commit.
|
||||||
- run: git checkout HEAD^2
|
#- run: git checkout HEAD^2
|
||||||
if: ${{ github.event_name == 'pull_request' }}
|
# if: ${{ github.event_name == 'pull_request' }}
|
||||||
|
|
||||||
# Initializes the CodeQL tools for scanning.
|
# Initializes the CodeQL tools for scanning.
|
||||||
- name: Initialize CodeQL
|
- name: Initialize CodeQL
|
||||||
|
1085
tests/aclocal.m4
vendored
1085
tests/aclocal.m4
vendored
File diff suppressed because it is too large
Load Diff
4404
tests/configure
vendored
4404
tests/configure
vendored
File diff suppressed because it is too large
Load Diff
@ -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
|
|
Loading…
x
Reference in New Issue
Block a user