Change access to the treasure room in the Mines' End map 'The Sewers … #2137
This file contains 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: EvilHack | |
on: | |
push: | |
branches: [ master ] | |
tags: | |
- '*' # won't work on tags containing / | |
pull_request: | |
branches: [ master ] | |
jobs: | |
linux-build: | |
runs-on: ubuntu-24.04 | |
env: | |
HINTS_FILE: linux-debug.gha | |
steps: | |
- uses: actions/checkout@v4 | |
- name: setup | |
run: ./sys/unix/setup.sh sys/unix/hints/$HINTS_FILE | |
- name: make all | |
run: make all | |
- name: make install | |
run: make install | |
mac-build: | |
runs-on: macos-latest | |
env: | |
HINTS_FILE: macosx10.14 | |
steps: | |
- uses: actions/checkout@v4 | |
- name: setup | |
run: ./sys/unix/setup.sh sys/unix/hints/$HINTS_FILE | |
- name: make all | |
run: make all | |
- name: make install | |
run: make install | |
windows-build: | |
runs-on: windows-latest | |
env: | |
YACC: win_bison -y | |
LEX: win_flex.exe | |
YTABC: y.tab.c | |
YTABH: y.tab.h | |
LEXYYC: lex.yy.c | |
ADD_CURSES: Y | |
PDCURSES_TOP: ../../pdcurses | |
TRAVIS_COMPILER: 1 | |
ZIP_NAME: evilhack-0.9.0.zip | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
submodules: recursive | |
- uses: ilammy/msvc-dev-cmd@v1 # enable visual c compiler / nmake | |
- name: setup | |
run: | | |
choco install winflexbison | |
git clone --depth 1 https://github.com/wmcbrine/PDCurses.git ../pdcurses | |
./sys/winnt/nhsetup.bat | |
- name: make install | |
run: | | |
cp ./sys/winnt/Makefile.msc ./Makefile | |
cd src | |
nmake install | |
- uses: thedoctor0/zip-release@master | |
if: startsWith(github.ref, 'refs/tags/') | |
with: | |
type: 'zip' | |
path: binary/ | |
filename: evilhack-0.9.0.zip | |
- name: release | |
uses: softprops/action-gh-release@v1 | |
if: startsWith(github.ref, 'refs/tags/') | |
with: | |
files: | | |
evilhack-0.9.0.zip | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |