Skip to content

Commit 6902bf1

Browse files
committed
chore: replace AppVeyor build with GitHub Actions
1 parent f7c2c1f commit 6902bf1

File tree

3 files changed

+39
-12
lines changed

3 files changed

+39
-12
lines changed

.github/workflows/build.yml

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
name: build
2+
3+
on:
4+
push:
5+
branches: [ "master" ]
6+
pull_request:
7+
branches: [ "master" ]
8+
9+
workflow_dispatch:
10+
11+
env:
12+
SOLUTION_FILE_PATH: .
13+
14+
permissions:
15+
contents: read
16+
17+
jobs:
18+
build:
19+
runs-on: windows-latest
20+
strategy:
21+
matrix:
22+
build_config: ['Debug','Release']
23+
24+
steps:
25+
- uses: actions/checkout@v4
26+
with:
27+
submodules: true
28+
29+
- name: Add MSBuild to PATH
30+
uses: microsoft/[email protected]
31+
32+
- name: Restore NuGet packages
33+
working-directory: ${{env.GITHUB_WORKSPACE}}
34+
run: nuget restore ${{env.SOLUTION_FILE_PATH}}
35+
36+
- name: Build ${{matrix.build_config}}|x86
37+
working-directory: ${{env.GITHUB_WORKSPACE}}
38+
run: msbuild /m /p:Configuration=${{matrix.build_config}} /p:Platform=x86 ${{env.SOLUTION_FILE_PATH}}

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
# string-editor
2-
[![Build status](https://ci.appveyor.com/api/projects/status/j5c5nfww82n6lo80/branch/master?svg=true)](https://ci.appveyor.com/project/MikeLankamp/string-editor/branch/master)
2+
[![build](https://github.com/GlyphXTools/string-editor/actions/workflows/build.yml/badge.svg)](https://github.com/GlyphXTools/string-editor/actions/workflows/build.yml?query=branch%3Amaster)
33

44
Smart string editor with history and multi-language support for GlyphX's string files

appveyor.yml

Lines changed: 0 additions & 11 deletions
This file was deleted.

0 commit comments

Comments
 (0)