瀏覽代碼

Target the Install build

Lukas Aldershaab 2 年之前
父節點
當前提交
9269a4e13b
共有 1 個文件被更改,包括 3 次插入1 次删除
  1. 3 1
      .github/workflows/cmake.yml

+ 3 - 1
.github/workflows/cmake.yml

@@ -54,7 +54,7 @@ jobs:
 
 
     - name: Build
     - name: Build
       # Build your program with the given configuration
       # Build your program with the given configuration
-      run: cmake --build ${{github.workspace}}/build --config ${{env.BUILD_TYPE}}
+      run: cmake --build ${{github.workspace}}/build --config ${{env.BUILD_TYPE}} --target install
 
 
     - name: Test
     - name: Test
       run: |
       run: |
@@ -64,6 +64,8 @@ jobs:
          else
          else
             ./Torque3D runTests.tscript
             ./Torque3D runTests.tscript
          fi
          fi
+      shell: bash
+
 
 
     - name: Publish Test Report
     - name: Publish Test Report
       uses: mikepenz/action-junit-report@v3
       uses: mikepenz/action-junit-report@v3