mirror of
https://github.com/isledecomp/isle.git
synced 2024-11-22 15:48:09 -05:00
commit
9520b5a7e9
2 changed files with 96 additions and 0 deletions
62
.github/workflows/build.yml
vendored
Normal file
62
.github/workflows/build.yml
vendored
Normal file
|
@ -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
|
34
dx5sdk/cdrom/setup.iss
Normal file
34
dx5sdk/cdrom/setup.iss
Normal file
|
@ -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
|
Loading…
Reference in a new issue