From 5634f3f50dcec37202ec21f1828017585d36fde8 Mon Sep 17 00:00:00 2001 From: Ansgar Wehrhahn <31626864+AWehrhahn@users.noreply.github.com> Date: Wed, 16 Dec 2020 19:22:32 +0100 Subject: [PATCH] debug output --- .github/workflows/make.yml | 19 ++++++++++++++++--- 1 file changed, 16 insertions(+), 3 deletions(-) diff --git a/.github/workflows/make.yml b/.github/workflows/make.yml index 880db5d..d954531 100644 --- a/.github/workflows/make.yml +++ b/.github/workflows/make.yml @@ -73,7 +73,10 @@ jobs: - name: Copy libgfortran if: matrix.compiler == 'gfortran' - run: cp $(make -s flib_source) $(make -s flib_target) + run: | + make -s flib_source + make -s flib_target + cp -v $(readlink -f $(make -s flib_source)) $(make -s flib_target) - run: ls lib - run: zip -r ${{ matrix.container }}-${{ matrix.compiler}} lib share @@ -184,8 +187,18 @@ jobs: run: make install - name: Copy libgfortran - if: matrix.name == 'ubuntu-gfortran' || matrix.name == 'macos-gfortran' || matrix.name == 'windows-gfortran' - run: cp $(make -s flib_source) $(make -s flib_target) + if: matrix.name == 'ubuntu-gfortran' || matrix.name == 'macos-gfortran' + run: | + make -s flib_source + make -s flib_target + cp -v $(readlink -f $(make -s flib_source)) $(make -s flib_target) + + - name: Copy libgfortran + if: matrix.name == 'windows-gfortran' + run: | + ls $(x86_64-w64-mingw32-gfortran --print-file-name=)libgfortran-?.dll + make -s flib_target + cp -v $(readlink -f $(ls $(x86_64-w64-mingw32-gfortran --print-file-name=)libgfortran-?.dll)) $(make -s flib_target) - name: Zip data # This would actually build your project, using zip for an example artifact run: zip -r ${{ matrix.name }} ${{ matrix.outputs }}