Skip to content

Commit

Permalink
Initial commit
Browse files Browse the repository at this point in the history
  • Loading branch information
dimhotepus committed Mar 25, 2024
0 parents commit 8f67b62
Show file tree
Hide file tree
Showing 230 changed files with 114,071 additions and 0 deletions.
37 changes: 37 additions & 0 deletions .clang-format
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
# Copyright Valve Corporation, All rights reserved.

# Defines the Chromium style for automatic reformatting.
# https://clang.llvm.org/docs/ClangFormatStyleOptions.html
BasedOnStyle: Google
# This defaults to 'Auto'. Explicitly set it for a while, so that
# 'vector<vector<int> >' in existing files gets formatted to
# 'vector<vector<int>>'. ('Auto' means that clang-format will only use
# 'int>>' if the file already contains at least one such instance.)
Standard: Cpp11

# Includes order matters
SortIncludes: false

# Make sure code like:
# IPC_BEGIN_MESSAGE_MAP()
# IPC_MESSAGE_HANDLER(WidgetHostViewHost_Update, OnUpdate)
# IPC_END_MESSAGE_MAP()
# gets correctly indented.
MacroBlockBegin: "^\
BEGIN_BITFIELD|\
BEGIN_BYTESWAP_DATADESC|\
BEGIN_DATADESC_GUTS|\
BEGIN_DATADESC_GUTS_NAMESPACE
BEGIN_DATADESC_NO_BASE|\
BEGIN_DEFINE_LOGGING_CHANNEL|\
BEGIN_SIMPLE_DATADESC|\
BEGIN_SIMPLE_DATADESC_$"
MacroBlockEnd: "^\
END_BITFIELD|\
END_BYTESWAP_DATADESC|\
END_DATADESC|\
END_DATADESC|\
END_DATADESC|\
END_DEFINE_LOGGING_CHANNEL|\
END_DATADESC|\
END_DATADESC$"
43 changes: 43 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
# This workflow uses actions that are not certified by GitHub.
# They are provided by a third-party and are governed by
# separate terms of service, privacy policy, and support
# documentation.

name: Build

on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]

env:
# Path to the solution file relative to the root of the project.
SOLUTION_FILE_PATH: vpc.sln

# Configuration type to build.
BUILD_CONFIGURATION: Release

# Build architecture
BUILD_PLATFORM: x64

permissions:
contents: read

jobs:
build:
name: Build VPC
runs-on: windows-latest

steps:
- name: Checkout repository and submodules
uses: actions/checkout@v3
with:
submodules: recursive

- name: Add msbuild / cmake / nmake to PATH
uses: ilammy/msvc-dev-cmd@v1

- name: Build the app
working-directory: ${{env.GITHUB_WORKSPACE}}
run: msbuild /m /p:Configuration=${{env.BUILD_CONFIGURATION}} /p:Platform=${{env.BUILD_PLATFORM}} ${{env.SOLUTION_FILE_PATH}}
Loading

0 comments on commit 8f67b62

Please sign in to comment.