Skip to content

Commit

Permalink
create windows workflow yml
Browse files Browse the repository at this point in the history
  • Loading branch information
YoYo178 committed Mar 6, 2024
1 parent 6769cc4 commit 61a00f5
Showing 1 changed file with 38 additions and 0 deletions.
38 changes: 38 additions & 0 deletions .github/workflows/FF_Windows.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
name: FF_Windows

on:
push:
paths:
- '.github/**'
- 'mp/src/**'
pull_request:
paths:
- 'mp/src/**'

jobs:
build:
runs-on:
windows-latest

steps:
- name: Checkout
uses: actions/checkout@v2

- name: Configure dependencies
uses: ilammy/msvc-dev-cmd@v1

- name: Create project
run: cd mp/src;devtools/bin/vpc.exe /2013 /ff +game /mksln Game_FF.sln

- name: Build project
run: cd mp/src;devenv Game_FF.sln /Build Release

- name: Pack
shell: bash
run: tar cJfv Windows.tar.xz mp/game/FortressForever2013/bin

- name: Upload product
uses: actions/upload-artifact@v2
with:
name: FF_2013
path: Windows.tar.xz

0 comments on commit 61a00f5

Please sign in to comment.