forked from R2Northstar/NorthstarLauncher
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'R2Northstar:main' into main
- Loading branch information
Showing
323 changed files
with
1,823 additions
and
1,520 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
{ | ||
"format": { | ||
"line_width": 120, | ||
"tab_size": 4, | ||
"use_tabchars": false, | ||
"fractional_tab_policy": "use-space", | ||
"max_subgroups_hwrap": 2, | ||
"max_pargs_hwrap": 2, | ||
"max_rows_cmdline": 2, | ||
"separate_ctrl_name_with_space": false, | ||
"separate_fn_name_with_space": false, | ||
"dangle_parens": true, | ||
"dangle_align": "child", | ||
"min_prefix_chars": 4, | ||
"max_prefix_chars": 10, | ||
"max_lines_hwrap": 2, | ||
"line_ending": "unix", | ||
"command_case": "canonical", | ||
"keyword_case": "unchanged", | ||
"always_wrap": [], | ||
"enable_sort": true, | ||
"autosort": false, | ||
"require_valid_layout": false, | ||
"layout_passes": {} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -20,10 +20,10 @@ jobs: | |
- name: Setup resource file version | ||
shell: bash | ||
run: | | ||
sed -i 's/DEV/${{ env.NORTHSTAR_VERSION }}/g' NorthstarLauncher/resources.rc | ||
sed -i 's/DEV/${{ env.NORTHSTAR_VERSION }}/g' NorthstarDLL/resources.rc | ||
sed -i 's/DEV/${{ env.NORTHSTAR_VERSION }}/g' primedev/primelauncher/resources.rc | ||
sed -i 's/DEV/${{ env.NORTHSTAR_VERSION }}/g' primedev/resources.rc | ||
FILEVERSION=$(echo ${{ env.NORTHSTAR_VERSION }} | tr '.' ',' | sed -E 's/-rc[0-9]+//' | tr -d '[:alpha:]') | ||
sed -i "s/0,0,0,1/${FILEVERSION}/g" NorthstarDLL/ns_version.h | ||
sed -i "s/0,0,0,1/${FILEVERSION}/g" primedev/ns_version.h | ||
- name: Build | ||
run: cmake --build . | ||
- name: Extract Short Commit Hash | ||
|
@@ -41,10 +41,20 @@ jobs: | |
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- uses: DoozyX/clang-format-lint-action@v0.13 | ||
- uses: DoozyX/clang-format-lint-action@v0.16.2 | ||
with: | ||
source: 'NorthstarDLL NorthstarLauncher' | ||
exclude: 'NorthstarDLL/include loader_launcher_proxy loader_wsock32_proxy' | ||
source: 'primedev' | ||
exclude: 'primedev/include primedev/thirdparty primedev/wsockproxy' | ||
extensions: 'h,cpp' | ||
clangFormatVersion: 13 | ||
clangFormatVersion: 16 | ||
style: file | ||
|
||
format-check-cmake-files: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- uses: puneetmatharu/[email protected] | ||
with: | ||
args: "--in-place" | ||
- run: | | ||
git diff --exit-code |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
name: Merge Conflict Auto Label | ||
on: | ||
push: | ||
branches: | ||
- main | ||
schedule: | ||
- cron: "10 21 * * *" | ||
|
||
jobs: | ||
triage: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: mschilde/auto-label-merge-conflicts@master | ||
with: | ||
CONFLICT_LABEL_NAME: "merge conflicts" | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
MAX_RETRIES: 5 | ||
WAIT_MS: 5000 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,11 @@ | ||
[submodule "thirdparty/libcurl"] | ||
path = thirdparty/libcurl | ||
path = primedev/thirdparty/libcurl | ||
url = https://github.com/curl/curl | ||
ignore = untracked | ||
[submodule "thirdparty/minhook"] | ||
path = thirdparty/minhook | ||
path = primedev/thirdparty/minhook | ||
url = https://github.com/TsudaKageyu/minhook | ||
ignore = untracked | ||
[submodule "thirdparty/minizip"] | ||
path = thirdparty/minizip | ||
path = primedev/thirdparty/minizip | ||
url = https://github.com/zlib-ng/minizip-ng.git |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.