Skip to content

Commit

Permalink
GitHub Actions
Browse files Browse the repository at this point in the history
  • Loading branch information
Dahlgren committed Nov 29, 2022
1 parent e8c2f50 commit d0495cc
Show file tree
Hide file tree
Showing 3 changed files with 40 additions and 23 deletions.
40 changes: 40 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
name: CI

on:
push:
pull_request:

jobs:
build:
name: Build
runs-on: windows-2022
steps:
- name: Checkout
uses: actions/checkout@v3
with:
submodules: true

- name: Upgrade SwiftPbo to .NET Framework 4.7.2
run: |
$files="SwiftPbo\SwiftPbo\SwiftPbo.csproj","SwiftPbo\SwiftPbo.Tests\SwiftPbo.Tests.csproj"
foreach ($file in $files) {
(Get-Content $file).replace('v4.5', 'v4.7.2') | Set-Content $file
}
- name: Setup MSBuild
uses: microsoft/setup-msbuild@v1

- name: Setup NuGet
uses: NuGet/setup-nuget@v1

- name: Restore Packages
run: nuget restore DokanPbo.sln

- name: Build
run: msbuild DokanPbo.sln -property:Configuration=Release

- name: Upload Artifact
uses: actions/upload-artifact@v3
with:
name: DokanPbo
path: DokanPbo\bin\Release\DokanPbo.exe
5 changes: 0 additions & 5 deletions .travis.yml

This file was deleted.

18 changes: 0 additions & 18 deletions appveyor.yml

This file was deleted.

0 comments on commit d0495cc

Please sign in to comment.