Generate Minetest.app on macOS 12, so at least macOS 12 will be supported

This commit is contained in:
sfence 2024-09-06 11:30:27 +02:00 committed by SmallJoker
parent 7737906d2e
commit 336f8d4dc7
2 changed files with 3 additions and 2 deletions

@ -29,8 +29,8 @@ on:
jobs:
build:
# use macOS 13 since it's the last one that still runs on x86
runs-on: macos-13
# use lowest possible macOS running on x86_64 to support more users
runs-on: macos-12
steps:
- uses: actions/checkout@v4
- name: Install deps

@ -28,6 +28,7 @@ with this program; if not, write to the Free Software Foundation, Inc.,
#include "SColor.h"
#include <matrix4.h>
#include <cmath>
#include <algorithm>
#define rangelim(d, min, max) ((d) < (min) ? (min) : ((d) > (max) ? (max) : (d)))
#define myfloor(x) ((x) < 0.0 ? (int)(x) - 1 : (int)(x))