diff options
author | Bret Curtis <psi29a@gmail.com> | 2021-09-15 16:33:12 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-09-15 16:33:12 +0200 |
commit | f9f6ee70a9eb4f1406657797b598e48847e3b8f6 (patch) | |
tree | a3e02da3797f18a54a847d99d444976a224d7bef | |
parent | 69d480e1276f5fbeb6f4ccbaaa5e4435e26a3cbe (diff) |
Update cmake.ymlpipeline-only-on-pull_requests
-rw-r--r-- | .github/workflows/cmake.yml | 16 |
1 files changed, 7 insertions, 9 deletions
diff --git a/.github/workflows/cmake.yml b/.github/workflows/cmake.yml index 986c467404..c220030050 100644 --- a/.github/workflows/cmake.yml +++ b/.github/workflows/cmake.yml @@ -20,32 +20,30 @@ jobs: - name: Install Building Dependancies run: sudo CI/install_debian_deps.sh gcc openmw-deps openmw-deps-dynamic - - name: ccache + - name: Prime ccache uses: hendrikmuhs/ccache-action@v1 with: key: ${{ matrix.os }}-${{ env.BUILD_TYPE }} max-size: 1000M - - name: Configure CMake - run: | - export PATH="/usr/lib/ccache:/usr/local/opt/ccache/libexec:$PATH" - cmake -S . -B . -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}} -DCMAKE_INSTALL_PREFIX=./install + - name: Configure + run: cmake -S . -B . -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}} -DCMAKE_INSTALL_PREFIX=./install -DCMAKE_C_COMPILER_LAUNCHER=ccache -DCMAKE_CXX_COMPILER_LAUNCHER=ccache - - name: Build + - name: Buil run: cmake --build . --config ${{env.BUILD_TYPE}} --parallel 3 - - name: Install OpenMW + - name: Install shell: bash run: cmake --install . - - name: Create OpenMW Artifact Zip + - name: Create Artifact shell: bash working-directory: install run: | ls -laR 7z a ../build_artifact.7z . - - name: Upload Zip + - name: Upload Artifact uses: actions/upload-artifact@v1 with: path: ./build_artifact.7z |