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 GitHub
parent 3af226cb06
commit 4fd744cdf6
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
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))