workflows: List files installed by CMake

This lets us compare them with Autotools more easily.

Signed-off-by: Simon McVittie <smcv@collabora.com>
This commit is contained in:
Simon McVittie 2022-05-03 20:22:48 +01:00 committed by Sam Lantinga
parent 90da399bbb
commit 85a77fb5fa
1 changed files with 7 additions and 0 deletions

View File

@ -82,6 +82,13 @@ jobs:
run: cmake -B build -DSDL_TEST=ON ${{ matrix.platform.flags }}
- name: Build
run: cmake --build build/ --config Release
- name: Install
run: |
set -eu
cmake --build build/ --config Release
rm -fr DESTDIR-cmake
DESTDIR=$(pwd)/DESTDIR-cmake cmake --install build/ --config Release
( cd DESTDIR-cmake; find ) | LC_ALL=C sort -u
- name: Configure Autotools
if: runner.os == 'Linux'
run: |