Skip to content

Commit

Permalink
chore: add build step for windows 2019
Browse files Browse the repository at this point in the history
  • Loading branch information
7mochi committed Sep 13, 2024
1 parent 6277cb5 commit 2fb7fb4
Showing 1 changed file with 30 additions and 3 deletions.
33 changes: 30 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ on:
push:

jobs:
build:
build-linux:
runs-on: ubuntu-latest
container: centos:centos7
env:
Expand All @@ -25,11 +25,11 @@ jobs:
with:
node-version: 12

- name: Checkout LLHL AGMOD repository
- name: Clone LLHL AGMOD repository
run: |
git clone https://github.com/7mochi/llhl-agmod
- name: Checkout LLHL repository
- name: Clone LLHL repository
run: |
git clone https://github.com/7mochi/llhl
cd llhl && git checkout 3.0-stable && cd $GITHUB_WORKSPACE
Expand Down Expand Up @@ -60,3 +60,30 @@ jobs:
- name: Prepare releases in zip
run: |
cd llhl/dist && zip -r ../llhl-${{github.ref_name}}-linux.zip *
build-windows:
runs-on: windows-2019

steps:
- name: Install NodeJS
uses: actions/setup-node@v3
with:
node-version: 20

- name: Clone LLHL AGMOD repository
run: |
git clone https://github.com/7mochi/llhl-agmod
- name: Clone LLHL repository
run: |
git clone https://github.com/7mochi/llhl
cd llhl && git checkout 3.0-stable && cd $GITHUB_WORKSPACE
- name: Build LLHL AGMOD serverfile .dll
run: |
cd llhl-agmod
msbuild multiplayer.sln -target:ag /p:Configuration=Release
cd $GITHUB_WORKSPACE

0 comments on commit 2fb7fb4

Please sign in to comment.