summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.github/workflows/ci_macos.yml7
-rw-r--r--.github/workflows/ci_ubuntu.yml7
-rw-r--r--.github/workflows/ci_windows.yml6
-rw-r--r--.github/workflows/ci_windows_mingw.yml4
-rw-r--r--README.md39
-rw-r--r--docs/README.TXT2
6 files changed, 39 insertions, 26 deletions
diff --git a/.github/workflows/ci_macos.yml b/.github/workflows/ci_macos.yml
index 734995f..a869867 100644
--- a/.github/workflows/ci_macos.yml
+++ b/.github/workflows/ci_macos.yml
@@ -18,7 +18,7 @@ jobs:
strategy:
fail-fast: false
matrix:
- name: [ "Linux x64 (Ubuntu 20.04)" ]
+ name: [ "macOS (10.15) - Xcode 12.3" ]
os: [ macos-latest ]
sanitize: [ false ]
build:
@@ -63,20 +63,15 @@ jobs:
${{github.workspace}}/.github/scripts/removemono.sh
- name: Configure CMake
- # Configure CMake in a 'build' subdirectory. `CMAKE_BUILD_TYPE` is only required if you are using a single-configuration generator such as make.
- # See https://cmake.org/cmake/help/latest/variable/CMAKE_BUILD_TYPE.html?highlight=cmake_build_type
run: cmake -DENABLE_PNG=1 -DENABLE_FREETYPE=1 -DENABLE_JPEG=1 -DENABLE_WEBP=1
-DENABLE_TIFF=1 -DENABLE_GD_FORMATS=1 -DENABLE_CPP=0 -DENABLE_HEIF=1 -D CMAKE_PREFIX_PATH=/usr/local
-DBUILD_TEST=1 -DVERBOSE_MAKEFILE=1 -DPNG_PNG_INCLUDE_DIR=/usr/local/Cellar/libpng/1.6.37/include -DPNG_PNG_LIBRARY_DIR=/usr/local/Cellar/libpng/1.6.37/lib -B ${{github.workspace}}/build -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}}
- name: Build
- # Build your program with the given configuration
run: cmake --build ${{github.workspace}}/build --config ${{env.BUILD_TYPE}} --parallel 4
- name: Test
working-directory: ${{github.workspace}}/build
- # Execute tests defined by the CMake configuration.
- # See https://cmake.org/cmake/help/latest/manual/ctest.1.html for more detail
run: |
export TMP=${{runner.temp}}
echo "TMP=${{github.temp}}" >> $GITHUB_ENV
diff --git a/.github/workflows/ci_ubuntu.yml b/.github/workflows/ci_ubuntu.yml
index 9e0abdb..5b686b3 100644
--- a/.github/workflows/ci_ubuntu.yml
+++ b/.github/workflows/ci_ubuntu.yml
@@ -2,12 +2,9 @@ name: CI Ubuntu
on:
push:
- branches:
- - 'features/mingw-ci'
+ branches: [ master ]
pull_request:
-
- workflow_dispatch:
-
+ branches: [ master ]
env:
# Customize the CMake build type here (Release, Debug, RelWithDebInfo, etc.)
diff --git a/.github/workflows/ci_windows.yml b/.github/workflows/ci_windows.yml
index 725bc0b..affcf72 100644
--- a/.github/workflows/ci_windows.yml
+++ b/.github/workflows/ci_windows.yml
@@ -2,11 +2,9 @@ name: CI Windows
on:
push:
- branches:
- - 'features/mingw-ci'
+ branches: [ master ]
pull_request:
-
- workflow_dispatch:
+ branches: [ master ]
env:
# Customize the CMake build type here (Release, Debug, RelWithDebInfo, etc.)
diff --git a/.github/workflows/ci_windows_mingw.yml b/.github/workflows/ci_windows_mingw.yml
index 23f92e7..7f6b64f 100644
--- a/.github/workflows/ci_windows_mingw.yml
+++ b/.github/workflows/ci_windows_mingw.yml
@@ -2,9 +2,9 @@ name: CI Windows Mingw
on:
push:
- branches:
- - 'features/mingw-ci'
+ branches: [ master ]
pull_request:
+ branches: [ master ]
workflow_dispatch:
diff --git a/README.md b/README.md
index 35ed3eb..a49d17e 100644
--- a/README.md
+++ b/README.md
@@ -46,15 +46,6 @@ GD has support for:
* [GIF](https://en.wikipedia.org/wiki/GIF) (builtin)
* [TGA](https://en.wikipedia.org/wiki/Truevision_TGA) (builtin)
* [WBMP](https://en.wikipedia.org/wiki/Wireless_Application_Protocol_Bitmap_Format) (builtin)
-
-
-
-
-
-
-
-
-
* [XPM](https://en.wikipedia.org/wiki/X_PixMap) via [libXpm](http://xorg.freedesktop.org/)
Besides that, GD depends on some external libraries, which are all optional
@@ -65,3 +56,33 @@ and disabled by default:
* [libraqm](https://github.com/HOST-Oman/libraqm) for complex text layout
* [libimagequant](https://pngquant.org/lib) for conversion of RGBA images to 8-bit indexed-color images
* **NOTE** libimagequant is dual-licensed: GPLv3 and commercial license
+
+
+## Platforms supported
+
+CI means whether we have an automatic CI for this platform. If someone has CI for these platforms or any other platforms not listed here and would like to add them to our automatic CI, please get in touch with us, it will much appreciated!
+
+| Platform | Support | CI |
+| ------------- | ------------- |----|
+| Linux x64 | 🗸 | 🗸 |
+| Linux x86 | 🗸 | 🗸 |
+| Linux ARM64 | 🗸 | 🗸 |
+| Windows x86 | 🗸 | 🗸 |
+| Windows x64 | 🗸 | 🗸 |
+| Windows arm64 | 🗸 | x |
+| MacOS x64 | 🗸 | 🗸 |
+| MacOS M1 | 🗸 | x |
+| S390 | 🗸 | x |
+
+It is also known to work on almost all variations of *BSD, Solaris, etc. We don't have CI nor environment to test them. However many progamming languages binding do test libgd on these platforms.
+
+## Compilers
+
+It should compile with all C99 and C++ compliant compilers, either using CMake or the configure script.
+
+We do have CI using:
+- GCC
+- CLang
+- Visual Studio
+- Xcode
+- MingW
diff --git a/docs/README.TXT b/docs/README.TXT
index 6a4d918..208288f 100644
--- a/docs/README.TXT
+++ b/docs/README.TXT
@@ -26,6 +26,8 @@ are installed as well:
4. JPEG library, available from http://www.ijg.org/
Portable JPEG compression/decompression library
+ jpeg-turbo is our recommended choise. version 2.x is required. It may build with earlier version however we do not support it (in case quality or other bugs could be seen).
+ LibJpeg 6.2 required. It may compile with earlier version but we do not support it.
5. XPM, available from http://koala.ilog.fr/lehors/xpm.html
X Pixmap library