Skip to content

Commit

Permalink
Merge pull request #3 from Zoomer1234/glass
Browse files Browse the repository at this point in the history
pull request
  • Loading branch information
dkjnsdvsodvnosdvm authored Mar 18, 2023
2 parents 397df7e + 01967ad commit 34dee84
Show file tree
Hide file tree
Showing 2 changed files with 56 additions and 76 deletions.
56 changes: 56 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,56 @@
name: Build

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

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

# Configuration type to build.
# You can convert this to a build matrix if you need coverage of multiple configuration types.
# https://docs.github.com/actions/learn-github-actions/managing-complex-workflows#using-a-build-matrix
BUILD_CONFIGURATION: Release

permissions:
contents: read

jobs:
build:
runs-on: windows-2019

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

- name: Add MSBuild to PATH
uses: microsoft/setup-msbuild@v1

- name: Build funchook
working-directory: ${{env.GITHUB_WORKSPACE}}
run: |
cd .\libs\funchook
md build
cd build
dir
cmake -G "Visual Studio 16 2019" -A x64 ..
cmake --build . --config Release
- name: Build WinCenterTitle
working-directory: ${{env.GITHUB_WORKSPACE}}
# Add additional options to the MSBuild command line here (like platform or verbosity level).
# See https://docs.microsoft.com/visualstudio/msbuild/msbuild-command-line-reference
run: msbuild /m /p:Configuration=${{env.BUILD_CONFIGURATION}} ${{env.SOLUTION_FILE_PATH}} /property:Platform=x64

- name: Upload WinCenterTitle
uses: actions/upload-artifact@v3
with:
# Artifact name
name: WinCenterTitle
# A file, directory or wildcard pattern that describes what to upload
path: x64/Release/*
76 changes: 0 additions & 76 deletions .github/workflows/codeql.yml

This file was deleted.

1 comment on commit 34dee84

@Zoomer1234
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cool

Please sign in to comment.