From 89996405ee6341252836d606d5de02fff83ec3ab Mon Sep 17 00:00:00 2001 From: F1F7Y <64418963+F1F7Y@users.noreply.github.com> Date: Thu, 22 Jun 2023 11:47:46 +0200 Subject: Move to cmake (#467) Moves the entire project to cmake as the build system --- .github/workflows/ci.yml | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) (limited to '.github/workflows/ci.yml') diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 1ac19129..e98d7cd1 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -10,10 +10,12 @@ jobs: steps: - name: Checkout uses: actions/checkout@v3 - - name: Setup MSBuild - uses: microsoft/setup-msbuild@v1.1 + - name: Setup msvc + uses: ilammy/msvc-dev-cmd@v1 + - name: Configure cmake + run: cmake -G "Ninja" -DCMAKE_BUILD_TYPE:STRING="${{ env.BUILD_PROFILE }}" - name: Build - run: msbuild /p:Configuration=${{ env.BUILD_PROFILE }} + run: cmake --build . - name: Extract Short Commit Hash id: extract shell: bash @@ -23,10 +25,7 @@ jobs: with: name: NorthstarLauncher-${{ steps.extract.outputs.commit }} path: | - x64/${{ env.BUILD_PROFILE }}/*.dll - x64/${{ env.BUILD_PROFILE }}/*.exe - x64/${{ env.BUILD_PROFILE }}/*.pdb - x64/${{ env.BUILD_PROFILE }}/*.txt + game/ format-check: runs-on: ubuntu-latest -- cgit v1.2.3