Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GitHub Actions #23

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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.