diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml new file mode 100644 index 0000000..f7efbb9 --- /dev/null +++ b/.github/workflows/build.yml @@ -0,0 +1,38 @@ +name: build + +on: + push: + branches: [ "master" ] + pull_request: + branches: [ "master" ] + + workflow_dispatch: + +env: + SOLUTION_FILE_PATH: . + +permissions: + contents: read + +jobs: + build: + runs-on: windows-latest + strategy: + matrix: + build_config: ['Debug','Release'] + + steps: + - uses: actions/checkout@v4 + with: + submodules: true + + - name: Add MSBuild to PATH + uses: microsoft/setup-msbuild@v1.0.2 + + - name: Restore NuGet packages + working-directory: ${{env.GITHUB_WORKSPACE}} + run: nuget restore ${{env.SOLUTION_FILE_PATH}} + + - name: Build ${{matrix.build_config}}|x86 + working-directory: ${{env.GITHUB_WORKSPACE}} + run: msbuild /m /p:Configuration=${{matrix.build_config}} /p:Platform=x86 ${{env.SOLUTION_FILE_PATH}} diff --git a/README.md b/README.md index 8252964..c3e8c34 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ # animation-converter -[![Build status](https://ci.appveyor.com/api/projects/status/vniqg296id865wce/branch/master?svg=true)](https://ci.appveyor.com/project/MikeLankamp/animation-converter/branch/master) +[![build](https://github.com/GlyphXTools/animation-converter/actions/workflows/build.yml/badge.svg)](https://github.com/GlyphXTools/animation-converter/actions/workflows/build.yml?query=branch%3Amaster) Converts GlyphX's animations between its different formats. diff --git a/appveyor.yml b/appveyor.yml deleted file mode 100644 index 908ea58..0000000 --- a/appveyor.yml +++ /dev/null @@ -1,11 +0,0 @@ -version: 1.2.{build} -build: - verbosity: minimal - -platform: - - x86 - - x64 - -configuration: - - Debug - - Release