Skip to content

Fix logic for blow with non-NULL blow_effect2 #101

Fix logic for blow with non-NULL blow_effect2

Fix logic for blow with non-NULL blow_effect2 #101

Workflow file for this run

name: msys2
on:
push:
branches: [ main ]
pull_request:
jobs:
stock:
name: Stock
runs-on: windows-latest
defaults:
# Reduce verbosity and always run with msys2 as the default shell.
# See https://github.com/marketplace/actions/setup-msys2 .
run:
shell: msys2 {0}
steps:
- name: Set up prerequisites
uses: msys2/setup-msys2@v2
with:
update: true
install: >-
make
mingw-w64-x86_64-gcc
mingw-w64-x86_64-ncurses
- name: Clone Project
uses: actions/checkout@v4
- name: Build
run: |
cd src
make -f Makefile.msys2
sdl:
name: SDL2
runs-on: windows-latest
defaults:
# Reduce verbosity and always run with msys2 as the default shell.
# See https://github.com/marketplace/actions/setup-msys2 .
run:
shell: msys2 {0}
steps:
- name: Set up prerequisites
uses: msys2/setup-msys2@v2
with:
update: true
install: >-
make
mingw-w64-x86_64-gcc
mingw-w64-x86_64-SDL2
mingw-w64-x86_64-SDL2_ttf
mingw-w64-x86_64-SDL2_image
mingw-w64-x86_64-SDL2_mixer
- name: Clone Project
uses: actions/checkout@v4
- name: Build
run: |
cd src
make -f Makefile.msys2.sdl2 SOUND=yes
makefile-win:
name: Makefile-win
runs-on: windows-latest
defaults:
# Reduce verbosity and always run with msys2 as the default shell.
# See https://github.com/marketplace/actions/setup-msys2 .
run:
shell: msys2 {0}
steps:
- name: Set up prerequisites
uses: msys2/setup-msys2@v2
with:
update: true
# The libraries in src/win/lib and src/win/dll are 32-bit.
msystem: mingw32
install: >-
make
mingw-w64-i686-gcc
- name: Clone Project
uses: actions/checkout@v4
- name: Build
run: |
cd src
make -f Makefile.win MINGW=yes
configure-win:
runs-on: windows-latest
defaults:
# Reduce verbosity and always run with msys2 as the default shell.
# See https://github.com/marketplace/actions/setup-msys2 .
run:
shell: msys2 {0}
steps:
- name: Set up prerequisites
uses: msys2/setup-msys2@v2
with:
update: true
# The libraries in src/win/lib and src/win/dll are 32-bit.
msystem: mingw32
install: >-
autoconf-wrapper
automake-wrapper
make
mingw-w64-i686-gcc
- name: Clone Project
uses: actions/checkout@v4
- name: Build
run: |
./autogen.sh
./configure --enable-win
make install
make tests