Commit 85a77fb5fa1f14ef199d2a0f247385f4d39a8e92

Simon McVittie 2022-05-03T20:22:48

workflows: List files installed by CMake This lets us compare them with Autotools more easily. Signed-off-by: Simon McVittie <smcv@collabora.com>

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml
index e2b5252..fc02d8c 100644
--- a/.github/workflows/main.yml
+++ b/.github/workflows/main.yml
@@ -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: |