Add flavor text strings for xNetHack 9.0 #473
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: xNetHack | |
on: | |
push: | |
branches: [ master, '*-savebreaking' ] | |
tags: | |
- '**' | |
pull_request: | |
branches: [ master, '*-savebreaking' ] | |
jobs: | |
linux-build: | |
runs-on: ubuntu-latest | |
env: | |
#LUA_VERSION: 5.4.2 | |
HINTS_FILE: linux.370 | |
steps: | |
- uses: actions/checkout@v3 | |
- name: setup | |
run: ./sys/unix/setup.sh sys/unix/hints/$HINTS_FILE | |
- name: fetch lua | |
run: | | |
make fetch-lua | |
- name: make all | |
run: make all | |
- name: make install | |
run: make install | |
mac-build: | |
runs-on: macos-latest | |
env: | |
HINTS_FILE: macOS.370 | |
steps: | |
- uses: actions/checkout@v3 | |
- name: setup | |
run: | | |
./sys/unix/setup.sh sys/unix/hints/$HINTS_FILE | |
make fetch-lua | |
- name: make all | |
run: make all | |
- name: make install | |
run: make install | |
windows-build: | |
runs-on: windows-latest | |
env: | |
ADD_LUA: Y | |
WANT_LUAC: N | |
LUATOP: ../submodules/lua | |
LUASRC: ../submodules/lua | |
ADD_CURSES: Y | |
PDCURSES_TOP: ../submodules/pdcurses | |
#LUA_VERSION: 5.4.2 | |
TRAVIS_COMPILER: 1 | |
ZIP_NAME: xnethack.zip | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
submodules: recursive | |
- uses: ilammy/msvc-dev-cmd@v1 # enable visual c compiler / nmake | |
- name: setup | |
run: | | |
./sys/windows/nhsetup.bat | |
- name: make package | |
run: | | |
cd src | |
nmake package | |
- uses: thedoctor0/zip-release@master | |
if: startsWith(github.ref, 'refs/tags/') | |
with: | |
type: 'zip' | |
path: package/ | |
filename: xnethack_mswindows.zip | |
- name: release | |
uses: softprops/action-gh-release@v1 | |
if: startsWith(github.ref, 'refs/tags/') | |
with: | |
files: | | |
xnethack_mswindows.zip | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |