aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows/ci.yml
diff options
context:
space:
mode:
authorGeckoEidechse <40122905+GeckoEidechse@users.noreply.github.com>2024-09-03 15:49:28 +0200
committerGitHub <noreply@github.com>2024-09-03 15:49:28 +0200
commitf9cb7d12c1036dda00b22d517f1466b6721ba4e0 (patch)
tree31d8c257aadd48fe5527825e634be8d77cebd540 /.github/workflows/ci.yml
parent261fcdaec4467dd4fdde4907cf7863f308ec344d (diff)
downloadNorthstarLauncher-f9cb7d12c1036dda00b22d517f1466b6721ba4e0.tar.gz
NorthstarLauncher-f9cb7d12c1036dda00b22d517f1466b6721ba4e0.zip
Update build instructions and CI for `build` subfolder (#808)v1.27.7-rc3v1.27.7-rc2
Update build instructions for compiling from command line or both Windows and Linux Update CI to build into CI subfolder to match suggested build instructions Update gitignore in regards to build directory Co-authored-by: F1F7Y <64418963+F1F7Y@users.noreply.github.com>
Diffstat (limited to '.github/workflows/ci.yml')
-rw-r--r--.github/workflows/ci.yml6
1 files changed, 3 insertions, 3 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index e562dc3b..821a8d1c 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -24,7 +24,7 @@ jobs:
- name: Setup msvc
uses: ilammy/msvc-dev-cmd@v1
- name: Configure cmake
- run: cmake -G "Ninja" -DCMAKE_BUILD_TYPE:STRING="${{ env.BUILD_PROFILE }}"
+ run: cmake -G "Ninja" -B build -DCMAKE_BUILD_TYPE:STRING="${{ env.BUILD_PROFILE }}"
- name: Setup resource file version
shell: bash
run: |
@@ -33,7 +33,7 @@ jobs:
FILEVERSION=$(echo ${{ env.NORTHSTAR_VERSION }} | tr '.' ',' | sed -E 's/-rc[0-9]+//' | tr -d '[:alpha:]')
sed -i "s/0,0,0,1/${FILEVERSION}/g" primedev/ns_version.h
- name: Build
- run: cmake --build .
+ run: cmake --build build/
- name: Extract Short Commit Hash
id: extract
shell: bash
@@ -43,7 +43,7 @@ jobs:
with:
name: NorthstarLauncher-${{ matrix.config.name }}-${{ steps.extract.outputs.commit }}
path: |
- game/
+ build/game/
format-check:
runs-on: ubuntu-latest