Skip to content
GitLab
Menu
Projects
Groups
Snippets
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
mirror
ImageMagick
Commits
1ce5baa9
Unverified
Commit
1ce5baa9
authored
1 year ago
by
Dirk Lemstra
Browse files
Options
Download
Email Patches
Plain Diff
Only build windows.
parent
c656ef24
windows-defines
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
.github/workflows/main.yml
+1
-104
.github/workflows/main.yml
with
1 addition
and
104 deletions
+1
-104
.github/workflows/main.yml
+
1
-
104
View file @
1ce5baa9
on
:
push
:
branches
:
-
main
tags
:
-
'
!*'
pull_request
:
branches
:
-
main
-
windows-defines
name
:
main
jobs
:
build_linux
:
name
:
Build Linux
container
:
image
:
ubuntu:20.04
runs-on
:
ubuntu-latest
strategy
:
fail-fast
:
false
matrix
:
compiler
:
[
gcc
,
clang
]
include
:
-
compiler
:
gcc
cxx_compiler
:
g++
compiler_flags
:
-Wall -Wextra -Werror -Wno-builtin-declaration-mismatch
packages
:
gcc g++
-
compiler
:
clang
cxx_compiler
:
clang++
compiler_flags
:
-Wall -Wextra -Werror -Wno-unused-function -Wno-incompatible-library-redeclaration
packages
:
clang
steps
:
-
uses
:
actions/checkout@v4
-
name
:
Install dependencies
run
:
|
set -e
export DEBIAN_FRONTEND=noninteractive
apt-get update -y
apt-get install -y autoconf git libtool make pkg-config ${{ matrix.packages }}
-
name
:
Configure ImageMagick
env
:
CC
:
${{ matrix.compiler }}
CXX
:
${{ matrix.cxx_compiler }}
CFLAGS
:
${{ matrix.compiler_flags }}
CXXFLAGS
:
${{ matrix.compiler_flags }}
run
:
|
autoreconf -fiv
./configure --with-quantum-depth=16 --enable-hdri=no --without-perl --prefix=/usr
-
name
:
Build ImageMagick
run
:
|
set -e
make
make check
make install
build_macos
:
name
:
Build MacOS
runs-on
:
macos-13
steps
:
-
uses
:
actions/checkout@v4
-
name
:
Install dependencies
run
:
|
set -e
export HOMEBREW_NO_AUTO_UPDATE=1
brew install automake fftw flif jbigkit libraqm librsvg libtool libxml2 pango
-
name
:
Configure ImageMagick
run
:
|
export CFLAGS="-Wall -Wextra -Werror -Wno-incompatible-library-redeclaration -Wno-deprecated-declarations -Wno-unused-parameter -Wno-unused-function -Wno-missing-declarations -Wno-incompatible-pointer-types-discards-qualifiers"
export PKG_CONFIG_PATH="/usr/local/opt/libxml2/lib/pkgconfig"
autoreconf -fiv
./configure --with-quantum-depth=16 --enable-hdri=no --without-perl --with-fftw --with-flif --with-rsvg
-
name
:
Build ImageMagick
run
:
|
set -e
make install
build_macos_arm64
:
name
:
Build MacOS arm64
runs-on
:
macos-14
steps
:
-
uses
:
actions/checkout@v4
-
name
:
Install dependencies
run
:
|
set -e
export HOMEBREW_NO_AUTO_UPDATE=1
brew install automake fftw flif jbigkit libraqm librsvg libtool libxml2 pango
-
name
:
Configure ImageMagick
run
:
|
export CFLAGS="-Wall -Wextra -Werror -Wno-incompatible-library-redeclaration -Wno-deprecated-declarations -Wno-unused-parameter -Wno-unused-function -Wno-missing-declarations -Wno-incompatible-pointer-types-discards-qualifiers"
export LDFLAGS=$(pkg-config --libs libjpeg)
autoreconf -fiv
./configure --with-quantum-depth=16 --enable-hdri=no --without-perl --with-fftw --with-flif --with-rsvg
-
name
:
Build ImageMagick
run
:
|
set -e
make
make check
sudo make install
build_windows
:
name
:
Build Windows ${{matrix.platform}}
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment
Menu
Projects
Groups
Snippets