diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml new file mode 100644 index 00000000..55a1eb50 --- /dev/null +++ b/.github/workflows/build.yml @@ -0,0 +1,62 @@ +name: Build + +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: Restore cached DX5 SDK + id: cache-dx5 + uses: actions/cache/restore@v3 + with: + path: dx5sdk + key: dx5sdk + + - name: Download DX5 SDK + if: steps.cache-dx5.outputs.cache-hit != 'true' + run: | + cd dx5sdk + C:\msys64\usr\bin\wget.exe https://archive.org/download/idx5sdk/idx5sdk.exe + 7z x .\idx5sdk.exe + 7z x .\DX5SDK.EXE + cd cdrom + + - name: Cache DX5 SDK + if: steps.cache-dx5.outputs.cache-hit != 'true' + id: save-dx5 + uses: actions/cache/save@v3 + with: + path: dx5sdk + key: dx5sdk + + - name: Setup DX5 SDK + run: | + cd dx5sdk + cd cdrom + .\SETUP.EXE /s + + - name: Build + shell: cmd + run: | + call .\msvc420\bin\VCVARS32.BAT x86 + mkdir Release + .\msvc420\bin\NMAKE.EXE /f isle.mak CFG="ISLE - Win32 Release" + + - name: Upload Artifact + uses: actions/upload-artifact@master + with: + name: Win32 + path: Release diff --git a/dx5sdk/cdrom/setup.iss b/dx5sdk/cdrom/setup.iss new file mode 100644 index 00000000..65d3f56f --- /dev/null +++ b/dx5sdk/cdrom/setup.iss @@ -0,0 +1,34 @@ +[InstallShield Silent] +Version=v5.00.000 +File=Response File +[DlgOrder] +Dlg0=SdWelcome-0 +Count=7 +Dlg1=SdLicense-0 +Dlg2=SdSetupTypeEx-0 +Dlg3=SdAskDestPath-0 +Dlg4=SdSelectFolder-0 +Dlg5=SdStartCopy-0 +Dlg6=SdFinish-0 +[SdWelcome-0] +Result=1 +[SdLicense-0] +Result=1 +[SdSetupTypeEx-0] +Result=Compact +[SdAskDestPath-0] +szDir=C:\dxsdk +Result=1 +[SdSelectFolder-0] +szFolder=Microsoft DirectX 5 SDK +Result=1 +[SdStartCopy-0] +Result=1 +[Application] +Name=the Microsoft DirectX 5 SDK +Version=5 +Company=Microsoft +[SdFinish-0] +Result=1 +bOpt1=0 +bOpt2=0