Skip to content
Merged
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
50 changes: 50 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
name: Build

on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
workflow_dispatch:

jobs:
build:
runs-on: windows-latest

steps:
- name: Checkout code
uses: actions/checkout@v4

- name: Add MSBuild to PATH
uses: microsoft/setup-msbuild@v2

- name: Restore NuGet packages
run: nuget restore rw.sln

- name: Build RW project
run: msbuild rw\RW.vcxproj /p:Configuration=Debug /p:Platform=Win32
continue-on-error: true

- name: Build GPSBabel project
run: msbuild gpsbabel\msvc\GPSBabel.vcxproj /p:Configuration=Debug /p:Platform=Win32
continue-on-error: true

- name: Upload RW artifacts
uses: actions/upload-artifact@v4
if: always()
with:
name: rw-debug
path: |
rw/Debug/**/*.exe
rw/Debug/**/*.dll
if-no-files-found: warn

- name: Upload GPSBabel artifacts
uses: actions/upload-artifact@v4
if: always()
with:
name: gpsbabel-debug
path: |
gpsbabel/Debug/**/*.exe
gpsbabel/Debug/**/*.dll
if-no-files-found: warn
Loading