Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
37 commits
Select commit Hold shift + click to select a range
d55c5ac
The theory is that it should be possible for any half-decent programm…
rmtew Aug 14, 2024
63fc794
Update the readme to be somewhat of an improvement WRT VS 2022 builds.
rmtew Aug 14, 2024
9923036
More readme changes, minor bit relating to old x64 builds text.
rmtew Aug 14, 2024
5d1c415
Some changes from unsaved project files.
rmtew Aug 14, 2024
60cb8fb
Set up the different solution and platform configurations to build. C…
rmtew Aug 15, 2024
edee929
Added hopefully correct note about files required to run the game as …
rmtew Aug 15, 2024
c125239
Markdown formatting of a revised license file.
rmtew Aug 15, 2024
da7cc7b
ci: msbuild is working for all combinations of Debug/Release and Win3…
rmtew Aug 15, 2024
5644181
Clean up msbuild workflow
HexDecimal Aug 15, 2024
3251c4e
Merge pull request #9 from HexDecimal/ci-cleanup
rmtew Aug 15, 2024
502dc9f
Refactor Rect struct
HexDecimal Aug 15, 2024
71ef9ce
Document Rect struct
HexDecimal Aug 18, 2024
1146155
Remove array redefinition
HexDecimal Aug 19, 2024
c5bfa41
Switch to standard types, replace long types
HexDecimal Aug 19, 2024
9b3e028
Merge pull request #5 from HexDecimal/rect-update
rmtew Aug 19, 2024
e988e17
Remove dead code Parser class
HexDecimal Aug 19, 2024
4b2e2f7
Merge pull request #13 from HexDecimal/remove-array-def
rmtew Aug 19, 2024
d90f6b7
Remove dead Dictionary class
HexDecimal Aug 19, 2024
f227839
Merge pull request #14 from HexDecimal/standard-types
rmtew Aug 19, 2024
79635c0
Fix #16. Compiler behaviour was not correctly `const char *` casting …
rmtew Aug 19, 2024
8538d87
Merge pull request #15 from HexDecimal/dead-parser
rmtew Aug 19, 2024
022740a
Bundle mod based on architecture
HexDecimal Aug 19, 2024
734f0df
Merge pull request #18 from HexDecimal/mod-arch
rmtew Aug 20, 2024
3779f5a
Remove modified character checking functions
HexDecimal Aug 20, 2024
d3b501d
Merge pull request #21 from HexDecimal/char-funcs
rmtew Aug 20, 2024
01858bd
Website is now hosted through github pages, but github pages only all…
rmtew Aug 22, 2024
c77baf5
Merge branch 'master' of github.com:rmtew/incursion-roguelike
rmtew Aug 22, 2024
c086824
Replace stack array with vector
HexDecimal Aug 22, 2024
cc2186a
Revert removing functions which clamp character values.
HexDecimal Aug 22, 2024
fd9cff1
Bump the version number so VS2015 32bit saves from 0.6.9Y19 cannot be…
rmtew Aug 22, 2024
ef4120a
Merge pull request #29 from HexDecimal/fix-27
rmtew Aug 22, 2024
97651db
Fix #31. Remove absolute path for input files to modaccent to prevent…
rmtew Aug 22, 2024
cf222d6
Simplify working directory logic
HexDecimal Aug 22, 2024
40c235d
Verify generated source files
HexDecimal Aug 22, 2024
a2925f9
Merge pull request #32 from HexDecimal/workingdir
rmtew Aug 22, 2024
490994c
Merge pull request #33 from HexDecimal/verify-generated
rmtew Aug 22, 2024
afeaeab
Fix NULL Map dereference in MapIterate
HexDecimal Aug 24, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
106 changes: 106 additions & 0 deletions .github/workflows/msbuild.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,106 @@
# This workflow uses actions that are not certified by GitHub.
# They are provided by a third-party and are governed by
# separate terms of service, privacy policy, and support
# documentation.

name: MSBuild

on:
push:
pull_request:

env:
# Path to the solution file relative to the root of the project.
SOLUTION_FILE_PATH: build\Incursion.sln

permissions:
contents: read

jobs:
build:
strategy:
matrix:
configuration: ["Release", "Debug"]
platform: ["Win32", "x64"]
runs-on: windows-2022

steps:
- uses: actions/checkout@v4

- name: Add MSBuild to PATH
uses: microsoft/setup-msbuild@v2

- name: Obtain external dependencies
run: |
pushd dependencies
curl -L -O https://github.com/libtcod/libtcod/releases/download/1.7.0/libtcod-1.7.0-${{ matrix.platform == 'Win32' && 'x86' || 'x86_64' }}-msvc.zip
7z x libtcod-*.zip
popd

- name: Build
# Add additional options to the MSBuild command line here (like platform or verbosity level).
# See https://docs.microsoft.com/visualstudio/msbuild/msbuild-command-line-reference
run: msbuild /m /p:Configuration=${{matrix.configuration}} /p:Platform=${{matrix.platform}} ${{env.SOLUTION_FILE_PATH}}

- name: Verify generated files
run: git diff --exit-code src/tokens.cpp src/yygram.cpp inc/yygram.h

- name: Copy binaries to project root
shell: bash
run: cp -v build/*/*/exe_libtcod/Incursion.exe dependencies/libtcod-*/libtcod.dll dependencies/libtcod-*/SDL2.dll .

- name: Compile mod
if: matrix.configuration == 'Debug'
shell: bash
run: ./Incursion.exe -compile

- name: Upload mod
if: matrix.configuration == 'Debug'
uses: actions/upload-artifact@v4
with:
name: mod-${{ matrix.platform }}
path: mod
retention-days: 1

- name: Upload binaries
uses: actions/upload-artifact@v4
with:
name: direct-binaries-${{matrix.configuration}}-${{matrix.platform}}
path: |
*.exe
*.dll
retention-days: 1

package:
needs: [build]
runs-on: ubuntu-latest
strategy:
matrix:
platform: ["Win32", "x64"]

steps:
- uses: actions/checkout@v4
- name: Fetch mod
uses: actions/download-artifact@v4
with:
name: mod-${{ matrix.platform }}
path: mod
- name: Fetch binaries
uses: actions/download-artifact@v4
with:
name: direct-binaries-Release-${{matrix.platform}}
path: .
- name: Package Incursion
uses: actions/upload-artifact@v4
with:
name: Incursion-${{matrix.platform}}
path: |
*.exe
*.dll
*.md
*.txt
fonts
docs
mod
retention-days: 30
compression-level: 9
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
*.obj

# Windows build & dependencies
.vs
build/dependencies
build/packages
build/run
Expand All @@ -18,6 +19,8 @@ Incursion.opensdf
# Incursion specific temporary files.
lib/dispatch.h
lib/program.i
Options.dat
save

# Local nonsense.
_external
273 changes: 0 additions & 273 deletions LICENSE

This file was deleted.

Loading