diff options
author | BobTheBob9 <for.oliver.kirkham@gmail.com> | 2022-08-16 01:12:59 +0100 |
---|---|---|
committer | BobTheBob9 <for.oliver.kirkham@gmail.com> | 2022-08-16 01:12:59 +0100 |
commit | 082f3893215797268d7ac8c1000ebe371f276af7 (patch) | |
tree | b5cc677a49635a9244559e235d4915c064c9f6c4 /.github/workflows/ci.yml | |
parent | b30a385fc25dad05e568ae8538f5aa3656c5c8d4 (diff) | |
download | NorthstarLauncher-082f3893215797268d7ac8c1000ebe371f276af7.tar.gz NorthstarLauncher-082f3893215797268d7ac8c1000ebe371f276af7.zip |
lots of stuff idk
Diffstat (limited to '.github/workflows/ci.yml')
-rw-r--r-- | .github/workflows/ci.yml | 82 |
1 files changed, 41 insertions, 41 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index bc255819..affe0a37 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -1,41 +1,41 @@ -name: CI
-on: [push, pull_request]
-
-env:
- BUILD_PROFILE: Release
-
-jobs:
- build:
- runs-on: windows-2022
- steps:
- - name: Checkout
- uses: actions/checkout@v2
- - name: Setup MSBuild
- uses: microsoft/setup-msbuild@v1.1
- - name: Build
- run: msbuild /p:Configuration=${{ env.BUILD_PROFILE }}
- - name: Extract Short Commit Hash
- id: extract
- shell: bash
- run: echo ::set-output name=commit::`git rev-parse --short HEAD`
- - name: Upload Build Artifact
- uses: actions/upload-artifact@v2
- 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
-
- format-check:
- runs-on: ubuntu-latest
- steps:
- - uses: actions/checkout@v2
- - uses: DoozyX/clang-format-lint-action@v0.13
- with:
- source: 'NorthstarDedicatedTest LauncherInjector'
- exclude: 'NorthstarDedicatedTest/include loader_launcher_proxy loader_wsock32_proxy'
- extensions: 'h,cpp'
- clangFormatVersion: 13
- style: file
+name: CI +on: [push, pull_request] + +env: + BUILD_PROFILE: Release + +jobs: + build: + runs-on: windows-2022 + steps: + - name: Checkout + uses: actions/checkout@v2 + - name: Setup MSBuild + uses: microsoft/setup-msbuild@v1.1 + - name: Build + run: msbuild /p:Configuration=${{ env.BUILD_PROFILE }} + - name: Extract Short Commit Hash + id: extract + shell: bash + run: echo ::set-output name=commit::`git rev-parse --short HEAD` + - name: Upload Build Artifact + uses: actions/upload-artifact@v2 + 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 + + format-check: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + - uses: DoozyX/clang-format-lint-action@v0.13 + with: + source: 'NorthstarDedicatedTest LauncherInjector' + exclude: 'NorthstarDedicatedTest/include loader_launcher_proxy loader_wsock32_proxy' + extensions: 'h,cpp' + clangFormatVersion: 13 + style: file |