Skip to content

Commit

Permalink
Github Actions CI
Browse files Browse the repository at this point in the history
  • Loading branch information
bbbradsmith committed Apr 15, 2024
1 parent a6c5022 commit 7c9bb79
Show file tree
Hide file tree
Showing 2 changed files with 33 additions and 1 deletion.
32 changes: 32 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: Binxelview Builds
on:
push:
branches: [ "master" ]
pull_request:
branches: [ "master" ]
workflow_dispatch:
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

jobs:
build-net:
name: Binxelview .NET
runs-on: windows-2019
steps:
- name: Checkout Files
uses: actions/checkout@v4
- name: Setup MSVC
uses: microsoft/setup-msbuild@v2
- name: Build
run: msbuild binxelview.sln -t:rebuild -property:Configuration=Release -property:Platform="Any CPU"
- name: Prepare Artifacts
shell: pwsh
run: |
./artifact.bat
echo "BUILD_TAG=$(git log -1 --format="%ad--%h" --date=format-local:"%Y-%m-%d-%H%M%S")" >> $env:GITHUB_ENV
- name: Upload Artifact
uses: actions/upload-artifact@v4
with:
name: binxelview-unstable--${{ env.BUILD_TAG }}
path: presets/
2 changes: 1 addition & 1 deletion readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ more work would follow with other appropriate tools.


Unstable preview builds:
https://ci.appveyor.com/project/bbbradsmith/binxelview/branch/master/artifacts
https://nightly.link/bbbradsmith/binxelview/workflows/build/master


Requirements
Expand Down

0 comments on commit 7c9bb79

Please sign in to comment.