diff --git a/.github/workflows/FF_Windows.yml b/.github/workflows/FF_Windows.yml new file mode 100644 index 00000000..d1c595b7 --- /dev/null +++ b/.github/workflows/FF_Windows.yml @@ -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 \ No newline at end of file