Skip to content

Commit 4124e08

Browse files
committed
failure logs
1 parent 82b190a commit 4124e08

1 file changed

Lines changed: 35 additions & 20 deletions

File tree

.github/workflows/vcpkg.yml

Lines changed: 35 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -75,26 +75,41 @@ jobs:
7575
run: |
7676
brew install autoconf autoconf-archive automake libtool
7777
78-
- name: "Install dependencies"
79-
run: >
80-
vcpkg x-set-installed --triplet ${{ matrix.triplet }} --host-triplet ${{ matrix.triplet }}
81-
boost-assign
82-
boost-bimap
83-
boost-chrono
84-
boost-date-time
85-
boost-filesystem
86-
boost-format
87-
boost-graph
88-
boost-math
89-
boost-program-options
90-
boost-regex
91-
boost-serialization
92-
boost-system
93-
boost-thread
94-
boost-timer
95-
eigen3
96-
tbb
97-
pybind11
78+
# - name: "Install dependencies"
79+
# run: >
80+
# vcpkg x-set-installed --triplet ${{ matrix.triplet }} --host-triplet ${{ matrix.triplet }}
81+
# boost-assign
82+
# boost-bimap
83+
# boost-chrono
84+
# boost-date-time
85+
# boost-filesystem
86+
# boost-format
87+
# boost-graph
88+
# boost-math
89+
# boost-program-options
90+
# boost-regex
91+
# boost-serialization
92+
# boost-system
93+
# boost-thread
94+
# boost-timer
95+
# eigen3
96+
# tbb
97+
# pybind11
98+
99+
- name: test failure logs
100+
run: |
101+
VCPKG_BASH_PATH=${VCPKG_INSTALLATION_ROOT//\\//}
102+
echo "VCPKG_INSTALLATION_ROOT=$VCPKG_BASH_PATH" >> "$GITHUB_ENV"
103+
vcpkg x-set-installed --triplet ${{ matrix.triplet }} --host-triplet ${{ matrix.triplet }} ccd
104+
exit 1
105+
106+
- name: On Failure, upload vcpkg logs
107+
if: failure()
108+
uses: actions/upload-artifact@v4
109+
with:
110+
name: logs_${{ matrix.os }}
111+
path: |
112+
${{ env.VCPKG_INSTALLATION_ROOT }}/buildtrees/**/*.log
98113
99114
- name: copy files for hash
100115
shell: bash

0 commit comments

Comments
 (0)