From b9ee6b68d156aa59235f9d8b74417e2b9c736554 Mon Sep 17 00:00:00 2001 From: Takahiro Itou <6907757+takahiro-itou@users.noreply.github.com> Date: Sun, 28 Apr 2024 18:16:47 +0900 Subject: [PATCH 01/19] =?UTF-8?q?=E9=96=8B=E7=99=BA=E7=94=A8=E3=83=96?= =?UTF-8?q?=E3=83=A9=E3=83=B3=E3=83=81=E3=82=92=E4=BD=9C=E6=88=90?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit From fa90614102c79138b50e5c3b49448e02c8f7236b Mon Sep 17 00:00:00 2001 From: Takahiro Itou <6907757+takahiro-itou@users.noreply.github.com> Date: Sun, 28 Apr 2024 18:18:55 +0900 Subject: [PATCH 02/19] =?UTF-8?q?=E3=83=AF=E3=83=BC=E3=82=AF=E3=83=95?= =?UTF-8?q?=E3=83=AD=E3=83=BC=E3=82=92=E5=A4=89=E6=9B=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit (1) テスト対象のアクションを変更 (2) ワークフローの名前を修正 --- .github/workflows/main.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 1fcca33..f51541e 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -1,5 +1,5 @@ -name : Hello World Test +name : Install CppUnit Test on : push : @@ -20,7 +20,7 @@ jobs : - uses : actions/checkout@v4 - id : foo - uses : takahiro-itou/hello-world-composite-action@master + uses : takahiro-itou/install-cppunit-action@develop with : who-to-greet : ${{ matrix.who-args }} From 7204c93d2055117a7fdac5edbff3b4494e308249 Mon Sep 17 00:00:00 2001 From: Takahiro Itou <6907757+takahiro-itou@users.noreply.github.com> Date: Sun, 28 Apr 2024 18:53:47 +0900 Subject: [PATCH 03/19] =?UTF-8?q?=E3=83=AF=E3=83=BC=E3=82=AF=E3=83=95?= =?UTF-8?q?=E3=83=AD=E3=83=BC=E3=82=92=E5=A4=89=E6=9B=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit (1) 不要になったステップを削除 --- .github/workflows/main.yml | 28 ++++------------------------ 1 file changed, 4 insertions(+), 24 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index f51541e..5652fb9 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -6,15 +6,9 @@ on : branches : [ "master", "develop" ] jobs : - hello_world_job : + install_cppunit_job: runs-on : ubuntu-latest - name : A job to say hello - - strategy : - fail-fast : false - - matrix : - who-args : [ 'Mona the Octocat', 'Second' ] + name : install CppUnit steps : - uses : actions/checkout@v4 @@ -22,23 +16,9 @@ jobs : - id : foo uses : takahiro-itou/install-cppunit-action@develop with : - who-to-greet : ${{ matrix.who-args }} - - - run : echo random-number "$RANDOM_NUMBER" - shell : bash - env : - RANDOM_NUMBER : ${{ steps.foo.outputs.random-number }} - - - run : | - echo common-value "${COMMON_VALUE}" - echo cached-date "${CACHED_DATE}" - shell : bash - env : - COMMON_VALUE : ${{ steps.foo.outputs.common-value }} - CACHED_DATE : ${{ steps.foo.outputs.cached-date }} + install-prefix : ${{ github.workspace }}/tools/cppunit - run : | pwd - ls -alR - md5sum -b ./init/*.txt + ls -alR toos/ shell : bash From 3f198ba73e3010747bcf03ef0c4ff02e51153803 Mon Sep 17 00:00:00 2001 From: Takahiro Itou <6907757+takahiro-itou@users.noreply.github.com> Date: Sun, 28 Apr 2024 18:59:36 +0900 Subject: [PATCH 04/19] =?UTF-8?q?=E4=B8=8D=E5=85=B7=E5=90=88=E4=BF=AE?= =?UTF-8?q?=E6=AD=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/main.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 5652fb9..4271e4c 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -20,5 +20,6 @@ jobs : - run : | pwd - ls -alR toos/ + echo "${{ github.workspace }}" + ls -alR "${{ github.workspace }}/tools/" shell : bash From 3516e838aef6a34d51d83ecfa3e44ae20ccb6d1d Mon Sep 17 00:00:00 2001 From: Takahiro Itou <6907757+takahiro-itou@users.noreply.github.com> Date: Sun, 28 Apr 2024 19:05:45 +0900 Subject: [PATCH 05/19] =?UTF-8?q?=E6=97=A2=E3=81=AB=E3=82=A4=E3=83=B3?= =?UTF-8?q?=E3=82=B9=E3=83=88=E3=83=BC=E3=83=AB=E6=B8=88=E3=81=BF=E3=81=AE?= =?UTF-8?q?=E5=A0=B4=E5=90=88=E3=81=AF=E4=BD=95=E3=82=82=E3=81=97=E3=81=AA?= =?UTF-8?q?=E3=81=84?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit From fc4ed420af31ff4130be3504954609b5adc6b6c3 Mon Sep 17 00:00:00 2001 From: Takahiro Itou <6907757+takahiro-itou@users.noreply.github.com> Date: Sun, 28 Apr 2024 19:23:29 +0900 Subject: [PATCH 06/19] =?UTF-8?q?=E3=83=9E=E3=83=88=E3=83=AA=E3=83=83?= =?UTF-8?q?=E3=82=AF=E3=82=B9=E3=82=B9=E3=83=88=E3=83=A9=E3=83=86=E3=82=B8?= =?UTF-8?q?=E3=82=92=E5=AE=9A=E7=BE=A9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/main.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 4271e4c..259af4d 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -10,6 +10,12 @@ jobs : runs-on : ubuntu-latest name : install CppUnit + strategy : + fail-fast : false + + matrix : + with-cppunit : [ no, ${{ github.workspace }}/tools/cppunit ] + steps : - uses : actions/checkout@v4 From 6f0b67cad0848739da5261beda4570188c29d75d Mon Sep 17 00:00:00 2001 From: Takahiro Itou <6907757+takahiro-itou@users.noreply.github.com> Date: Sun, 28 Apr 2024 19:25:55 +0900 Subject: [PATCH 07/19] =?UTF-8?q?=E3=81=B2=E3=81=A8=E3=81=BE=E3=81=9A?= =?UTF-8?q?=E3=82=A8=E3=83=A9=E3=83=BC=E3=82=92=E5=9B=9E=E9=81=BF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 259af4d..3ab7164 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -14,7 +14,7 @@ jobs : fail-fast : false matrix : - with-cppunit : [ no, ${{ github.workspace }}/tools/cppunit ] + with-cppunit : [ no ] steps : - uses : actions/checkout@v4 From 97b76ba02ba441fdce047f656ecf609ab351fa7d Mon Sep 17 00:00:00 2001 From: Takahiro Itou <6907757+takahiro-itou@users.noreply.github.com> Date: Sun, 28 Apr 2024 19:27:22 +0900 Subject: [PATCH 08/19] =?UTF-8?q?=E3=83=9E=E3=83=88=E3=83=AA=E3=83=83?= =?UTF-8?q?=E3=82=AF=E3=82=B9=E3=82=92=E5=A4=89=E6=9B=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 3ab7164..d8bf2f9 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -14,7 +14,7 @@ jobs : fail-fast : false matrix : - with-cppunit : [ no ] + with-cppunit : [ no, ${{ github.workspace }} ] steps : - uses : actions/checkout@v4 From 30a62ce75b91c73e00e6e64734c5433f9d870977 Mon Sep 17 00:00:00 2001 From: Takahiro Itou <6907757+takahiro-itou@users.noreply.github.com> Date: Sun, 28 Apr 2024 19:27:56 +0900 Subject: [PATCH 09/19] =?UTF-8?q?Revert=20"=E3=83=9E=E3=83=88=E3=83=AA?= =?UTF-8?q?=E3=83=83=E3=82=AF=E3=82=B9=E3=82=92=E5=A4=89=E6=9B=B4"?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This reverts commit 97b76ba02ba441fdce047f656ecf609ab351fa7d. --- .github/workflows/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index d8bf2f9..3ab7164 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -14,7 +14,7 @@ jobs : fail-fast : false matrix : - with-cppunit : [ no, ${{ github.workspace }} ] + with-cppunit : [ no ] steps : - uses : actions/checkout@v4 From 5a64ad246c7c59b4c3d4d07c3d280f0a006748b7 Mon Sep 17 00:00:00 2001 From: Takahiro Itou <6907757+takahiro-itou@users.noreply.github.com> Date: Sun, 28 Apr 2024 19:28:20 +0900 Subject: [PATCH 10/19] =?UTF-8?q?=E3=83=AA=E3=83=95=E3=82=A1=E3=82=AF?= =?UTF-8?q?=E3=82=BF=E3=83=AA=E3=83=B3=E3=82=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/main.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 3ab7164..fb9500e 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -14,7 +14,8 @@ jobs : fail-fast : false matrix : - with-cppunit : [ no ] + with-cppunit : + - no steps : - uses : actions/checkout@v4 From d4f7ffde803a5e867c530a993319f00722ef66c3 Mon Sep 17 00:00:00 2001 From: Takahiro Itou <6907757+takahiro-itou@users.noreply.github.com> Date: Sun, 28 Apr 2024 19:29:21 +0900 Subject: [PATCH 11/19] =?UTF-8?q?=E3=83=9E=E3=83=88=E3=83=AA=E3=83=83?= =?UTF-8?q?=E3=82=AF=E3=82=B9=E3=82=92=E5=A4=89=E6=9B=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/main.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index fb9500e..684f2ef 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -16,6 +16,7 @@ jobs : matrix : with-cppunit : - no + - ${{ github.workspace }}/tools/cppunit steps : - uses : actions/checkout@v4 From 9077a51b1d41d472831ac462b06953317563fafa Mon Sep 17 00:00:00 2001 From: Takahiro Itou <6907757+takahiro-itou@users.noreply.github.com> Date: Sun, 28 Apr 2024 19:34:53 +0900 Subject: [PATCH 12/19] =?UTF-8?q?=E3=83=87=E3=83=90=E3=83=83=E3=82=B0?= =?UTF-8?q?=E3=83=97=E3=83=AA=E3=83=B3=E3=83=88?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/main.yml | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 684f2ef..d0b919e 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -21,12 +21,19 @@ jobs : steps : - uses : actions/checkout@v4 + - name : Print Install Dir + run : | + echo "workspace = ${{ github.workspace }}" + echo "target = ${{ matrix.with-cppunit }}" + shell : bash + - id : foo uses : takahiro-itou/install-cppunit-action@develop with : install-prefix : ${{ github.workspace }}/tools/cppunit - - run : | + - name : Post-Show Workspace + run : | pwd echo "${{ github.workspace }}" ls -alR "${{ github.workspace }}/tools/" From edadcce603ae061b09a6f75ee8b2646997931337 Mon Sep 17 00:00:00 2001 From: Takahiro Itou <6907757+takahiro-itou@users.noreply.github.com> Date: Sun, 28 Apr 2024 19:40:56 +0900 Subject: [PATCH 13/19] =?UTF-8?q?=E3=83=9E=E3=83=88=E3=83=AA=E3=83=83?= =?UTF-8?q?=E3=82=AF=E3=82=B9=E3=81=AE=E3=83=95=E3=83=A9=E3=82=B0=E3=82=92?= =?UTF-8?q?=E7=A2=BA=E8=AA=8D=E3=81=99=E3=82=8B=E3=82=88=E3=81=86=E3=81=AB?= =?UTF-8?q?=E4=BF=AE=E6=AD=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit (1) フラグ with-cppunit が no の時はインストールしない --- .github/workflows/main.yml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index d0b919e..0b7d0a5 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -16,7 +16,7 @@ jobs : matrix : with-cppunit : - no - - ${{ github.workspace }}/tools/cppunit + - tools/cppunit steps : - uses : actions/checkout@v4 @@ -27,10 +27,11 @@ jobs : echo "target = ${{ matrix.with-cppunit }}" shell : bash - - id : foo + - if : ${{ matrix.with-cppunit != 'no' }} + name : Install CppUnit uses : takahiro-itou/install-cppunit-action@develop with : - install-prefix : ${{ github.workspace }}/tools/cppunit + install-prefix : ${{ matrix.with-cppunit }} - name : Post-Show Workspace run : | From ff010b35be5918f6af1b438d86afe2375f207e43 Mon Sep 17 00:00:00 2001 From: Takahiro Itou <6907757+takahiro-itou@users.noreply.github.com> Date: Sun, 28 Apr 2024 19:48:41 +0900 Subject: [PATCH 14/19] =?UTF-8?q?=E3=83=86=E3=82=B9=E3=83=88?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/main.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 0b7d0a5..7536d3d 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -16,7 +16,7 @@ jobs : matrix : with-cppunit : - no - - tools/cppunit + - ${{ github.workspace }} steps : - uses : actions/checkout@v4 @@ -37,5 +37,5 @@ jobs : run : | pwd echo "${{ github.workspace }}" - ls -alR "${{ github.workspace }}/tools/" + ls -lR "${{ github.workspace }}" shell : bash From 0bb0d4ed949224380b9a9119b21dc716c301bc25 Mon Sep 17 00:00:00 2001 From: Takahiro Itou <6907757+takahiro-itou@users.noreply.github.com> Date: Sun, 28 Apr 2024 19:50:05 +0900 Subject: [PATCH 15/19] =?UTF-8?q?=E3=83=86=E3=82=B9=E3=83=88?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 7536d3d..6c4a4f4 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -16,7 +16,7 @@ jobs : matrix : with-cppunit : - no - - ${{ github.workspace }} + - $GITHUB_WORKSPACE steps : - uses : actions/checkout@v4 From 3603075f50358b67d752387d47a417ea47b4fe22 Mon Sep 17 00:00:00 2001 From: Takahiro Itou <6907757+takahiro-itou@users.noreply.github.com> Date: Sun, 28 Apr 2024 19:55:00 +0900 Subject: [PATCH 16/19] =?UTF-8?q?=E4=B8=8D=E5=85=B7=E5=90=88=E4=BF=AE?= =?UTF-8?q?=E6=AD=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 6c4a4f4..b98f68d 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -16,7 +16,7 @@ jobs : matrix : with-cppunit : - no - - $GITHUB_WORKSPACE + - "$GITHUB_WORKSPACE/tools/cppunit" steps : - uses : actions/checkout@v4 From c6a8518ec305084f710c2477a4f8804ed27138ab Mon Sep 17 00:00:00 2001 From: Takahiro Itou <6907757+takahiro-itou@users.noreply.github.com> Date: Sun, 28 Apr 2024 19:59:05 +0900 Subject: [PATCH 17/19] =?UTF-8?q?=E4=B8=8D=E5=85=B7=E5=90=88=E4=BF=AE?= =?UTF-8?q?=E6=AD=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/main.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index b98f68d..7d42001 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -16,7 +16,7 @@ jobs : matrix : with-cppunit : - no - - "$GITHUB_WORKSPACE/tools/cppunit" + - tools/cppunit steps : - uses : actions/checkout@v4 @@ -29,9 +29,11 @@ jobs : - if : ${{ matrix.with-cppunit != 'no' }} name : Install CppUnit + env : + INSTALL_PREFIX : "${{ github.workspace }}/${ matrix.with-cppunit }}" uses : takahiro-itou/install-cppunit-action@develop with : - install-prefix : ${{ matrix.with-cppunit }} + install-prefix : ${INSTALL_PREFIX} - name : Post-Show Workspace run : | From 14f56793438ea21977c1a06fa239444347c7762b Mon Sep 17 00:00:00 2001 From: Takahiro Itou <6907757+takahiro-itou@users.noreply.github.com> Date: Sun, 28 Apr 2024 20:04:02 +0900 Subject: [PATCH 18/19] =?UTF-8?q?=E4=B8=8D=E5=85=B7=E5=90=88=E4=BF=AE?= =?UTF-8?q?=E6=AD=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 7d42001..56fd7c7 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -30,7 +30,7 @@ jobs : - if : ${{ matrix.with-cppunit != 'no' }} name : Install CppUnit env : - INSTALL_PREFIX : "${{ github.workspace }}/${ matrix.with-cppunit }}" + INSTALL_PREFIX : "${{ github.workspace }}/${{ matrix.with-cppunit }}" uses : takahiro-itou/install-cppunit-action@develop with : install-prefix : ${INSTALL_PREFIX} From 9ddb5b0ccf93b86249c333fff648a243fca5d4c2 Mon Sep 17 00:00:00 2001 From: Takahiro Itou <6907757+takahiro-itou@users.noreply.github.com> Date: Sun, 28 Apr 2024 20:10:48 +0900 Subject: [PATCH 19/19] =?UTF-8?q?=E3=83=86=E3=82=B9=E3=83=88?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/main.yml | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 56fd7c7..ef1770b 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -29,11 +29,9 @@ jobs : - if : ${{ matrix.with-cppunit != 'no' }} name : Install CppUnit - env : - INSTALL_PREFIX : "${{ github.workspace }}/${{ matrix.with-cppunit }}" uses : takahiro-itou/install-cppunit-action@develop with : - install-prefix : ${INSTALL_PREFIX} + install-prefix : "${{ github.workspace }}/${{ matrix.with-cppunit }}" - name : Post-Show Workspace run : |