Skip to content

例外処理を追加 #31

例外処理を追加

例外処理を追加 #31

Workflow file for this run

name : Install CppUnit Test
on :
push :
branches : [ "master", "develop" ]
jobs :
install_cppunit_job:
runs-on : ubuntu-latest
name : install CppUnit
strategy :
fail-fast : false
matrix :
with-cppunit :
- no
- ${HOME}/tools/cppunit
- tools/cppunit
steps :
- uses : actions/checkout@v4
- name : Print Install Dir
run : |
echo "workspace = ${{ github.workspace }}"
echo "target = ${{ matrix.with-cppunit }}"
sudo mkdir -p /tools
ls /
shell : bash
- name : Install CppUnit
id : install-cppunit
uses : takahiro-itou/install-cppunit-action@develop
with :
install-prefix : "${{ matrix.with-cppunit }}"
- name : Skipped Install
id : skipped-install-cppunit
if : ${{ steps.install-cppunit.conclusion == 'skipped' }}
run : echo "real-install-dir=no" | tee -a "${GITHUB_OUTPUT}"
- name : Post-Show Workspace
run : |
pwd
echo "${{ github.workspace }}"
echo "${{ steps.install-cppunit.outputs.real-install-dir }}"
if [[ "X${{ matrix.with-cppunit }}Y" != 'XnoY' ]] ; then
ls -lR "${{ steps.install-cppunit.outputs.real-install-dir }}"
fi
shell : bash