Skip to content

ブランチ Refactoring # 0014 をマージ #3

ブランチ Refactoring # 0014 をマージ

ブランチ Refactoring # 0014 をマージ #3

Workflow file for this run

name: CI for Core
on:
push:
branches: [ "master", "develop" ]
pull_request:
branches: [ "master", "develop" ]
jobs:
build:
runs-on: ubuntu-latest
strategy :
fail-fast : false
matrix :
build-type : [ release, debug ]
with-cppunit : [ no, tools/cppunit ]
steps:
- uses: actions/checkout@v4
with:
submodules: 'true'
- name : Install CppUnit
id : install-cppunit
uses : takahiro-itou/[email protected]
with :
install-prefix : "${{ matrix.with-cppunit }}"
- name: Run bootstrap
run : |
pwd
cd Core
autoconf --version
./bootstrap.sh
ls -aR
shell : bash
- name: Run configrue
run : |
mkdir -p build
cd build
../Core/run-autoconf-${{ matrix.build-type }} \
--with-cppunit=${{ steps.install-cppunit.outputs.real-install-dir }}
shell : bash
- name: Build
run : cd build && make
- name: Run Test
run : cd build && make check
- name: make distcheck
run : |
cd build
env DISTCHECK_CONFIGURE_FLAGS=${CPPUNIT_DIR} make distcheck
env :
CPPUNIT_DIR : ${{ steps.install-cppunit.outputs.real-install-dir }}
shell : bash