From f7a481fe396a93e42e43d6bd7def8a1e514d4792 Mon Sep 17 00:00:00 2001 From: Santtu Date: Fri, 6 Dec 2024 16:47:12 +0700 Subject: [PATCH] Debug for all targets --- .../reusable/cached-install/action.yml | 30 ++++++++++--------- 1 file changed, 16 insertions(+), 14 deletions(-) diff --git a/.github/workflows/reusable/cached-install/action.yml b/.github/workflows/reusable/cached-install/action.yml index 0c98711..ba92fdf 100644 --- a/.github/workflows/reusable/cached-install/action.yml +++ b/.github/workflows/reusable/cached-install/action.yml @@ -11,20 +11,22 @@ runs: - name: install run: | ./install.sh --prod ${ARCHFLAGS:-} || ( - echo "=== config-arm64-android-dbg-CMakeCache.txt.log ===" && \ - cat /Users/runner/work/native-sdk/native-sdk/vcpkg/buildtrees/libdatachannel/config-arm64-android-dbg-CMakeCache.txt.log || true && \ - echo "=== config-arm64-android-rel-CMakeCache.txt.log ===" && \ - cat /Users/runner/work/native-sdk/native-sdk/vcpkg/buildtrees/libdatachannel/config-arm64-android-rel-CMakeCache.txt.log || true && \ - echo "=== config-arm64-android-dbg-CMakeConfigureLog.yaml.log ===" && \ - cat /Users/runner/work/native-sdk/native-sdk/vcpkg/buildtrees/libdatachannel/config-arm64-android-dbg-CMakeConfigureLog.yaml.log || true && \ - echo "=== config-arm64-android-rel-CMakeConfigureLog.yaml.log ===" && \ - cat /Users/runner/work/native-sdk/native-sdk/vcpkg/buildtrees/libdatachannel/config-arm64-android-rel-CMakeConfigureLog.yaml.log || true && \ - echo "=== config-arm64-android-rel-ninja.log ===" && \ - cat /Users/runner/work/native-sdk/native-sdk/vcpkg/buildtrees/libdatachannel/config-arm64-android-rel-ninja.log || true && \ - echo "=== config-arm64-android-out.log ===" && \ - cat /Users/runner/work/native-sdk/native-sdk/vcpkg/buildtrees/libdatachannel/config-arm64-android-out.log || true && \ - echo "=== ../../arm64-android-dbg/CMakeCache.txt ===" && \ - cat ../../arm64-android-dbg/CMakeCache.txt || true && \ + for target in arm64-osx x64-osx x64-linux arm64-linux arm64-android arm64-ios; do + echo "=== config-$target-dbg-CMakeCache.txt.log ===" && \ + cat /Users/runner/work/native-sdk/native-sdk/vcpkg/buildtrees/libdatachannel/config-$target-dbg-CMakeCache.txt.log || true && \ + echo "=== config-$target-rel-CMakeCache.txt.log ===" && \ + cat /Users/runner/work/native-sdk/native-sdk/vcpkg/buildtrees/libdatachannel/config-$target-rel-CMakeCache.txt.log || true && \ + echo "=== config-$target-dbg-CMakeConfigureLog.yaml.log ===" && \ + cat /Users/runner/work/native-sdk/native-sdk/vcpkg/buildtrees/libdatachannel/config-$target-dbg-CMakeConfigureLog.yaml.log || true && \ + echo "=== config-$target-rel-CMakeConfigureLog.yaml.log ===" && \ + cat /Users/runner/work/native-sdk/native-sdk/vcpkg/buildtrees/libdatachannel/config-$target-rel-CMakeConfigureLog.yaml.log || true && \ + echo "=== config-$target-rel-ninja.log ===" && \ + cat /Users/runner/work/native-sdk/native-sdk/vcpkg/buildtrees/libdatachannel/config-$target-rel-ninja.log || true && \ + echo "=== config-$target-out.log ===" && \ + cat /Users/runner/work/native-sdk/native-sdk/vcpkg/buildtrees/libdatachannel/config-$target-out.log || true && \ + echo "=== ../../$target-dbg/CMakeCache.txt ===" && \ + cat ../../$target-dbg/CMakeCache.txt || true + done exit 1 ) shell: bash