Skip to content

Build/CI: more dependencies for msys2 sdl_image #491

Build/CI: more dependencies for msys2 sdl_image

Build/CI: more dependencies for msys2 sdl_image #491

Workflow file for this run

name: CI
on:
push:
branches-ignore:
- 'screenshots'
paths:
- '**'
- '!**.md'
- '!doc/**'
- '!schema/**'
- '!.github/workflows/**'
- '.github/workflows/test.yaml'
pull_request:
branches-ignore:
- 'screenshots'
paths:
- '**'
- '!**.md'
- '!doc/**'
- '!schema/**'
- '!.github/workflows/**'
- '.github/workflows/test.yaml'
jobs:
test-ubuntu:
runs-on: ubuntu-latest
steps:
- name: Install dependencies
run: |
sudo apt-get update -y -qq
sudo apt-get install coreutils build-essential libsdl2-dev libsdl2-image-dev libsdl2-ttf-dev
- uses: actions/checkout@v4
with:
submodules: recursive
- name: Build DEBUG
run: make native CONF=DEBUG -j2
- name: Run tests
run: make test CONF=DEBUG
test-macos:
runs-on: macos-latest
steps:
- name: Install dependencies
run: |
brew install coreutils SDL2 sdl2_ttf sdl2_image openssl@1.1
- uses: actions/checkout@v4
with:
submodules: recursive
- name: Build DEBUG
run: make native CONF=DEBUG -j2
- name: Run tests
run: make test CONF=DEBUG
test-win64:
runs-on: windows-latest
steps:
- uses: msys2/setup-msys2@v2
with:
release: false
update: true
install: >-
base-devel
coreutils
make
mingw-w64-x86_64-toolchain
mingw64/mingw-w64-x86_64-SDL2
mingw64/mingw-w64-x86_64-SDL2_image
mingw64/mingw-w64-x86_64-SDL2_ttf
mingw64/mingw-w64-x86_64-freetype
mingw64/mingw-w64-x86_64-openssl
p7zip
- uses: actions/checkout@v4
with:
submodules: recursive
- name: Build DEBUG
shell: msys2 {0}
run: make native CONF=DEBUG -j2
- name: Run tests
shell: msys2 {0}
run: make test CONF=DEBUG