Skip to content

Commit

Permalink
Intiail commit
Browse files Browse the repository at this point in the history
  • Loading branch information
leejeonghun committed Jun 26, 2024
0 parents commit 7fe8c4f
Show file tree
Hide file tree
Showing 26 changed files with 1,933 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .clang-format
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
Language: Cpp
BasedOnStyle: Google
TabWidth: 2
SpaceBeforeCpp11BracedList: true
Cpp11BracedListStyle: false
AlignAfterOpenBracket: DontAlign
IncludeBlocks: Merge
NamespaceIndentation: Inner
50 changes: 50 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
name: CI
on:
- push
env:
SOLUTION_FILE_PATH: .
BUILD_CONFIGURATION: Release
CL: /source-charset:.949 /execution-charset:.949
jobs:
build:
runs-on: windows-latest
steps:
- uses: actions/checkout@v4
with:
submodules: 'true'
- uses: microsoft/setup-msbuild@v1
- working-directory: ${{env.GITHUB_WORKSPACE}}
run: >-
msbuild /m /p:Configuration=${{env.BUILD_CONFIGURATION}}
${{env.SOLUTION_FILE_PATH}}
- run: echo "filename=${GITHUB_REPOSITORY#*/}-${GITHUB_REF##*/}.zip" >> $GITHUB_OUTPUT
shell: bash
id: zip
- uses: vimtor/action-zip@v1.1
with:
files: Release/version.dll
dest: ${{steps.zip.outputs.filename}}
- uses: actions/upload-artifact@v3
with:
path: ${{steps.zip.outputs.filename}}
outputs:
filename: ${{steps.zip.outputs.filename}}
release:
needs:
- build
if: startsWith(github.ref, 'refs/tags/v')
runs-on: windows-latest
steps:
- uses: actions/download-artifact@v3
- uses: tubone24/update_release@v1.3.1
id: update_release
env:
GITHUB_TOKEN: ${{github.token}}
- uses: tanyagray/action-upload-release-asset@v1.1.3
env:
GITHUB_TOKEN: ${{github.token}}
with:
upload_url: ${{steps.update_release.outputs.upload_url}}
asset_path: artifact/${{needs.build.outputs.filename}}
asset_name: ${{needs.build.outputs.filename}}
asset_content_type: application/zip
Loading

0 comments on commit 7fe8c4f

Please sign in to comment.