forked from gimp-plugins-justice/gimp-plugin-astronomy
-
Notifications
You must be signed in to change notification settings - Fork 1
64 lines (63 loc) · 2.05 KB
/
main.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
name: CI
on: [push,pull_request]
jobs:
linux:
runs-on: ubuntu-latest
strategy:
matrix:
choiceL: [--disable-silent-rules, --enable-silent-rules]
steps:
- uses: actions/checkout@v4
- name: Create configure
run: |
sudo apt-get update -y
sudo apt-get install autoconf automake libtool gcc gettext libfftw3-dev libgimp2.0-dev libgsl-dev texlive-latex-base texlive-fonts-recommended
autoreconf -i
automake --add-missing
- name: Choose configure
run: ./configure ${{ matrix.choiceL }}
- name: Make gimp-plugin-astronomy
run: make
- name: Test make strip
if: matrix.choiceL == '--disable-silent-rules'
run: make strip
- name: Test make distcheck
if: matrix.choiceL == '--disable-silent-rules'
run: make distcheck
- name: test install
run: sudo make install
- name: test uninstall
run: sudo make install
win:
runs-on: windows-latest
strategy:
matrix:
include: [
{msystem: MINGW32, toolchain: mingw-w64-i686, version: x32 },
{msystem: MINGW64, toolchain: mingw-w64-x86_64, version: x64 },
{msystem: UCRT64, toolchain: mingw-w64-ucrt-x86_64, version: x64 },
{msystem: CLANG64, toolchain: mingw-w64-clang-x86_64, version: x64 },
]
name: ${{ matrix.msystem }}
defaults:
run:
shell: msys2 {0}
steps:
- uses: actions/checkout@v4
- uses: msys2/setup-msys2@v2
with:
msystem: ${{ matrix.msystem }}
update: true
install: autotools base-devel git ${{ matrix.toolchain }}-toolchain ${{ matrix.toolchain }}-gimp ${{ matrix.toolchain }}-fftw ${{ matrix.toolchain }}-gsl
- name: Create configure
run: |
autoreconf -i
automake
- name: run ./configure
run: ./configure
- name: Make gimp-plugin-astronomy
run: make
- name: test install
run: make install
- name: test uninstall
run: make uninstall