浏览代码

workflows: List files installed by CMake

This lets us compare them with Autotools more easily.

Signed-off-by: Simon McVittie <[email protected]>
Simon McVittie 3 年之前
父节点
当前提交
85a77fb5fa
共有 1 个文件被更改,包括 7 次插入0 次删除
  1. 7 0
      .github/workflows/main.yml

+ 7 - 0
.github/workflows/main.yml

@@ -82,6 +82,13 @@ jobs:
       run: cmake -B build -DSDL_TEST=ON ${{ matrix.platform.flags }}
       run: cmake -B build -DSDL_TEST=ON ${{ matrix.platform.flags }}
     - name: Build
     - name: Build
       run: cmake --build build/ --config Release
       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
     - name: Configure Autotools
       if: runner.os == 'Linux'
       if: runner.os == 'Linux'
       run: |
       run: |