From cb8fac86627d763f4266a148a0d55743acdfd719 Mon Sep 17 00:00:00 2001 From: stonedDiscord Date: Sun, 11 Jun 2023 14:07:15 +0200 Subject: [PATCH] Create build.yml --- .github/workflows/build.yml | 41 +++++++++++++++++++++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100644 .github/workflows/build.yml diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml new file mode 100644 index 00000000..87eb4c46 --- /dev/null +++ b/.github/workflows/build.yml @@ -0,0 +1,41 @@ +name: ISO + +on: + push: + branches: [ "master" ] + pull_request: + branches: [ "master" ] + +jobs: + build: + runs-on: windows-latest + + steps: + - uses: actions/checkout@v3 + + - uses: actions/checkout@v3 + with: + repository: 'itsmattkc/msvc420' + path: msvc420 + + - name: Set up DX5 SDK + run: | + mkdir dx5sdk + cd dx5sdk + wget https://ia800700.us.archive.org/9/items/idx5sdk/idx5sdk.exe + 7z x .\idx5sdk.exe + 7z x .\DX5SDK.EXE + cd cdrom + .\SETUP.EXE + + - name: Build + run: | + ./msvc420/BIN/VCVARS32.BAT x86 + mkdir Release + nmake /f isle.mak CFG="ISLE - Win32 Release" + + - name: Upload Artifact + uses: actions/upload-artifact@master + with: + name: Win32 + path: Release