-
Notifications
You must be signed in to change notification settings - Fork 83
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Commit jmagick_build.yml, GitHub Action workflow. Remove Travis setting file. configure.ac cosmetic changes * Use AC_SYS_LARGEFILE instead of own checks * Use AS_HELP_STRING, to arrange help string indent docker improve * Use docker image `dpokidov/imagemagick` to build ImageMagick misc * Add .gitignore * Use cache on GitHub Action * Add os and jdk matrix * Fix for autotools doc style
- Loading branch information
1 parent
cbe6e85
commit b4412af
Showing
10 changed files
with
527 additions
and
327 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
name: jmagick Makefile CI (multiple jdk versions) | ||
|
||
on: | ||
push: | ||
pull_request: | ||
branches: [ "master" ] | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest # jammy | ||
|
||
name: ${{ matrix.jdk }} on ${{ matrix.os }} | ||
strategy: | ||
fail-fast: true | ||
matrix: | ||
jdk: ['8', '11'] | ||
os: ['ubuntu', 'bullseye'] | ||
exclude: | ||
- jdk: '8' | ||
os: 'bullseye' | ||
|
||
container: | ||
image: dpokidov/imagemagick:7.1.1-10-${{ matrix.os }} | ||
options: --user root | ||
|
||
steps: | ||
- uses: actions/checkout@v3 | ||
|
||
- name: Package update | ||
run: apt-get update -y && apt-get install -y sudo curl wget apt-utils | ||
|
||
- name: Install build tools | ||
run: apt-get install -y autoconf automake libtool build-essential pkg-config openjdk-${{ matrix.jdk }}-jdk | ||
|
||
- name: Prepare autotools | ||
run: | | ||
touch NEWS AUTHORS ChangeLog | ||
autoreconf --force --install | ||
automake --add-missing | ||
- name: Configure | ||
run: | | ||
./configure --with-java-home=/usr/lib/jvm/java-${{ matrix.jdk }}-openjdk-amd64 | ||
- name: Make | ||
run: make |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,16 @@ | ||
FROM ubuntu:14.04 | ||
FROM dpokidov/imagemagick:7.1.1-10-ubuntu | ||
|
||
RUN apt-get update | ||
RUN apt-get install -y openjdk-7-jdk libmagickcore-dev libmagickwand-dev make | ||
RUN apt-get update -y | ||
RUN apt-get install -y autoconf automake libtool build-essential pkg-config openjdk-11-jdk | ||
|
||
ADD docker/build.sh / | ||
RUN chmod +x /build.sh | ||
WORKDIR /src | ||
VOLUME /src | ||
VOLUME /build | ||
CMD /build.sh | ||
COPY . . | ||
|
||
RUN touch NEWS AUTHORS ChangeLog | ||
RUN autoreconf --force --install | ||
RUN automake --add-missing | ||
|
||
RUN ./configure --with-java-home=/usr/lib/jvm/java-11-openjdk-amd64 | ||
RUN make | ||
|
||
# override "dpokidov/imagemagick" default entrypoint | ||
ENTRYPOINT [""] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.