Skip to content

Commit dd2f831

Browse files
authored
Merge pull request #84 from lclevy/devel
Merge devel (ie. release 0.9.0) to the master
2 parents 492c2c5 + e129860 commit dd2f831

File tree

235 files changed

+12493
-6195
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

235 files changed

+12493
-6195
lines changed

.github/workflows/autotools.yml

Lines changed: 61 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
matrix:
1616
conf_options: [ "", --enable-native-generic ]
1717
steps:
18-
- uses: actions/checkout@v3
18+
- uses: actions/checkout@v4
1919
- name: install prereq.
2020
run: sudo apt-get update ; sudo apt-get install -y check
2121
- name: autogen
@@ -36,18 +36,34 @@ jobs:
3636
run: sudo ldconfig
3737
- name: test installed command-line utils
3838
run: ./examples/tests/test-all-examples.sh /usr/local/bin
39+
- name: store logs from failed tests
40+
if: failure()
41+
uses: actions/upload-artifact@v4
42+
with:
43+
name: ubuntu_autotools_logs_failed_tests
44+
path: |
45+
examples/tests/*.log
46+
regtests/Test/*.log
47+
tests/*.log
3948
40-
cygwin_native_default:
49+
cygwin:
4150
runs-on: windows-latest
4251
defaults:
4352
run:
44-
shell: C:\tools\cygwin\bin\bash.exe '{0}'
45-
env:
46-
SHELLOPTS: igncr
53+
shell: C:\cygwin\bin\bash.exe '{0}'
54+
# env:
55+
# SHELLOPTS: igncr
4756
steps:
48-
- uses: actions/checkout@v3
49-
- uses: egor-tensin/setup-cygwin@v4
57+
- name: setup git (eol)
58+
# shell: powershell
59+
shell: cmd
60+
run: |
61+
git config --global core.autocrlf false
62+
# git config --global core.eol lf
63+
- uses: actions/checkout@v4
64+
- uses: cygwin/cygwin-install-action@v4
5065
with:
66+
site: https://sunsite.icm.edu.pl/pub/cygnus/cygwin/
5167
packages: autoconf automake check diffutils findutils gcc-core grep gzip libtool make sed tar
5268
- name: autogen
5369
run: ./autogen.sh
@@ -65,16 +81,26 @@ jobs:
6581
run: find /tmp/adflib -iname '*adf*'
6682
- name: test installed command-line utils
6783
run: ./examples/tests/test-all-examples.sh /tmp/adflib/bin
84+
- name: store logs from failed tests
85+
if: failure()
86+
uses: actions/upload-artifact@v4
87+
with:
88+
name: cygwin_autotools_native_logs_failed_tests
89+
path: |
90+
examples/tests/*.log
91+
regtests/Test/*.log
92+
tests/*.log
93+
# C:\cygwin\var\log\setup.log.full
6894

69-
msys2_native_default:
70-
if: false
95+
msys2:
96+
# if: false
7197
runs-on: windows-latest
7298
defaults:
7399
run:
74100
shell: msys2 '{0}'
75101
steps:
76-
- uses: actions/checkout@v3
77-
- uses: msys2/setup-msys2@v2
102+
- uses: actions/checkout@v4
103+
- uses: msys2/setup-msys2@v2.22.0
78104
with:
79105
update: true
80106
install: autotools diffutils mingw-w64-x86_64-check mingw-w64-x86_64-toolchain
@@ -85,7 +111,8 @@ jobs:
85111
- name: make
86112
run: make
87113
- name: make check
88-
run: ( make check || grep . examples/*.log examples/tests/*.log )
114+
#run: ( make check || grep . examples/*.log examples/tests/*.log )
115+
run: make check
89116
- name: make distcheck
90117
run: make distcheck
91118
- name: make install
@@ -94,13 +121,22 @@ jobs:
94121
run: find /tmp/adflib -iname '*adf*'
95122
- name: test installed command-line utils
96123
run: ./examples/tests/test-all-examples.sh /tmp/adflib/bin
124+
- name: store logs from failed tests
125+
if: failure()
126+
uses: actions/upload-artifact@v4
127+
with:
128+
name: msys2_autotools_logs_failed_tests
129+
path: |
130+
examples/tests/*.log
131+
regtests/Test/*.log
132+
tests/*.log
97133
98-
macos_native_default:
134+
macos:
99135
runs-on: macos-latest
100136
steps:
101-
- uses: actions/checkout@v3
137+
- uses: actions/checkout@v4
102138
- name: install prereq.
103-
run: brew install automake check
139+
run: brew install automake check libtool
104140
- name: autogen
105141
run: ./autogen.sh
106142
- name: configure
@@ -112,8 +148,17 @@ jobs:
112148
- name: make distcheck
113149
run: make distcheck
114150
- name: make install
115-
run: make install
151+
run: sudo make install
116152
- name: check installation
117153
run: find /usr/local/ -iname '*adf*'
118154
- name: test installed command-line utils
119155
run: ./examples/tests/test-all-examples.sh /usr/local/bin
156+
- name: store logs from failed tests
157+
if: failure()
158+
uses: actions/upload-artifact@v4
159+
with:
160+
name: macos_autotools_native_logs_failed_tests
161+
path: |
162+
examples/tests/*.log
163+
regtests/Test/*.log
164+
tests/*.log

.github/workflows/cmake.yml

Lines changed: 24 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
matrix:
1616
build_type: [ shared, debug ]
1717
steps:
18-
- uses: actions/checkout@v3
18+
- uses: actions/checkout@v4
1919
- name: install prereq.
2020
run: sudo apt-get update ; sudo apt-get install -y check
2121
- name: cmake_${{ matrix.build_type }}_configure
@@ -36,7 +36,7 @@ jobs:
3636
windows_build:
3737
runs-on: windows-latest
3838
steps:
39-
- uses: actions/checkout@v3
39+
- uses: actions/checkout@v4
4040
- name: install prereq.
4141
run: |
4242
choco install ninja cmake
@@ -94,7 +94,7 @@ jobs:
9494
run: |
9595
echo $ADFLIB_TAG
9696
echo ${{ env.ADFLIB_TAG }}
97-
- uses: actions/upload-artifact@v3
97+
- uses: actions/upload-artifact@v4
9898
with:
9999
# name: adflib-${{ env.ADFLIB_TAG }}-windows
100100
name: adflib-windows
@@ -105,27 +105,27 @@ jobs:
105105
run: |
106106
mkdir -v artifact-tests
107107
tar cvzf artifact-tests/examples_tests.tgz examples/tests/
108-
- uses: actions/upload-artifact@v3
108+
- uses: actions/upload-artifact@v4
109109
with:
110-
name: adflib-examples-tests
110+
name: adflib-windows-examples-tests
111111
path: |
112112
artifact-tests
113113
114114
windows_test:
115115
runs-on: windows-latest
116116
needs: windows_build
117117
steps:
118-
- uses: actions/download-artifact@master
118+
- uses: actions/download-artifact@v4
119119
with:
120120
# name: adflib-${{ env.ADFLIB_TAG }}-windows
121121
name: adflib-windows
122122
path: .
123123
- name: list files extracted from the artifact
124124
shell: bash
125125
run: find .
126-
- uses: actions/download-artifact@master
126+
- uses: actions/download-artifact@v4
127127
with:
128-
name: adflib-examples-tests
128+
name: adflib-windows-examples-tests
129129
path: .
130130
- name: extract examples/tests
131131
shell: bash
@@ -141,7 +141,7 @@ jobs:
141141
macos_shared:
142142
runs-on: macos-latest
143143
steps:
144-
- uses: actions/checkout@v3
144+
- uses: actions/checkout@v4
145145
- name: install prereq.
146146
run: |
147147
brew install cmake ninja coreutils
@@ -154,6 +154,8 @@ jobs:
154154
run: util/cmake_shared_build
155155
- name: cmake_shared_test
156156
run: util/cmake_shared_test
157+
- name: show properties of binaries in the build tree (not installed)
158+
run: otool -l build/shared/examples/unadf
157159
- name: cmake_shared_install
158160
run: sudo bash util/cmake_shared_install
159161
- name: check installation
@@ -168,7 +170,7 @@ jobs:
168170
/usr/local/include/*adf*
169171
/usr/local/lib/*adf*
170172
# /usr/local/share/man/man3/*adf*
171-
- uses: actions/upload-artifact@v3
173+
- uses: actions/upload-artifact@v4
172174
with:
173175
# name: adflib-${{ env.ADFLIB_TAG }}-windows
174176
name: adflib-macos
@@ -178,9 +180,9 @@ jobs:
178180
run: |
179181
mkdir -v artifact-tests
180182
tar cvzf artifact-tests/examples_tests.tgz examples/tests/
181-
- uses: actions/upload-artifact@v3
183+
- uses: actions/upload-artifact@v4
182184
with:
183-
name: adflib-examples-tests
185+
name: adflib-macos-examples-tests
184186
path: |
185187
artifact-tests
186188
@@ -189,18 +191,24 @@ jobs:
189191
needs: macos_shared
190192
runs-on: macos-latest
191193
steps:
192-
- uses: actions/download-artifact@master
194+
- uses: actions/download-artifact@v4
193195
with:
194196
# name: adflib-${{ env.ADFLIB_TAG }}-macos
195197
name: adflib-macos
196198
path: .
197199
- name: extract file from the artifact
198-
run: tar xzv -C / -f adflib-macos.tgz
200+
run: sudo tar xzv -C / -f adflib-macos.tgz
199201
- name: list files extracted from the artifact
200202
run: find /usr/local -name "*adf*"
201-
- uses: actions/download-artifact@master
203+
- name: list installed library files
204+
run: ls -l /usr/local/lib/*adf*
205+
# - name: update dyld's shared cache
206+
# run: sudo update_dyld_shared_cache -debug
207+
- name: show properties of binaries (installed)
208+
run: otool -l /usr/local/bin/unadf
209+
- uses: actions/download-artifact@v4
202210
with:
203-
name: adflib-examples-tests
211+
name: adflib-macos-examples-tests
204212
path: .
205213
- name: extract examples/tests
206214
run: tar xzvf examples_tests.tgz

.github/workflows/deb-debian.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
container:
1919
image: debian:${{ matrix.image }}
2020
steps:
21-
- uses: actions/checkout@v3
21+
- uses: actions/checkout@v4
2222
- name: install prereq.
2323
run:
2424
apt-get update &&
@@ -39,7 +39,7 @@ jobs:
3939
# run: |
4040
# echo $ADFLIB_TAG
4141
# echo ${{ env.ADFLIB_TAG }}
42-
- uses: actions/upload-artifact@v3
42+
- uses: actions/upload-artifact@v4
4343
with:
4444
# name: adflib-${{ env.ADFLIB_TAG }}-deb-debian
4545
name: adflib-debian-${{ matrix.image }}
@@ -49,7 +49,7 @@ jobs:
4949
run: |
5050
mkdir -v artifact-tests
5151
tar cvzf artifact-tests/examples_tests.tgz examples/tests/
52-
- uses: actions/upload-artifact@v3
52+
- uses: actions/upload-artifact@v4
5353
with:
5454
name: adflib-examples-tests-${{ matrix.image }}
5555
path: |
@@ -64,7 +64,7 @@ jobs:
6464
container:
6565
image: debian:${{ matrix.image }}
6666
steps:
67-
- uses: actions/download-artifact@master
67+
- uses: actions/download-artifact@v4
6868
with:
6969
# name: adflib-${{ env.ADFLIB_TAG }}-deb-debian
7070
name: adflib-debian-${{ matrix.image }}
@@ -84,7 +84,7 @@ jobs:
8484
dpkg -l 'libadf*' ;
8585
dpkg -l 'libadf*' | grep "libadf" |
8686
cut -d' ' -f 3 | cut -d':' -f 1 | xargs dpkg -L
87-
- uses: actions/download-artifact@master
87+
- uses: actions/download-artifact@v4
8888
with:
8989
# name: adflib-${{ env.ADFLIB_TAG }}-deb-debian
9090
name: adflib-examples-tests-${{ matrix.image }}

.github/workflows/deb-ubuntu.yml

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2,17 +2,18 @@ name: deb packaging Ubuntu
22

33
on:
44
push:
5-
branches: [ "master", "devel", "citest", "citest-deb" ]
5+
# branches: [ "master", "devel", "citest", "citest-deb" ]
6+
branches: [ "citest", "citest-deb" ]
67
tags:
78
- '**'
8-
pull_request:
9-
branches: [ "master", "devel" ]
9+
# pull_request:
10+
# branches: [ "master", "devel" ]
1011

1112
jobs:
1213
build:
1314
runs-on: ubuntu-latest
1415
steps:
15-
- uses: actions/checkout@v3
16+
- uses: actions/checkout@v4
1617
- name: install prereq.
1718
run:
1819
sudo apt-get update &&
@@ -33,7 +34,7 @@ jobs:
3334
run: |
3435
echo $ADFLIB_TAG
3536
echo ${{ env.ADFLIB_TAG }}
36-
- uses: actions/upload-artifact@v3
37+
- uses: actions/upload-artifact@v4
3738
with:
3839
# name: adflib-${{ env.ADFLIB_TAG }}-deb-ubuntu
3940
name: adflib-deb-ubuntu
@@ -43,7 +44,7 @@ jobs:
4344
run: |
4445
mkdir -v artifact-tests
4546
tar cvzf artifact-tests/examples_tests.tgz examples/tests/
46-
- uses: actions/upload-artifact@v3
47+
- uses: actions/upload-artifact@v4
4748
with:
4849
name: adflib-examples-tests
4950
path: |
@@ -53,7 +54,7 @@ jobs:
5354
needs: build
5455
runs-on: ubuntu-latest
5556
steps:
56-
- uses: actions/download-artifact@master
57+
- uses: actions/download-artifact@v4
5758
with:
5859
# name: adflib-${{ env.ADFLIB_TAG }}-deb-ubuntu
5960
name: adflib-deb-ubuntu
@@ -68,7 +69,7 @@ jobs:
6869
dpkg -l 'libadf*' ;
6970
dpkg -l 'libadf*' | grep "libadf" |
7071
cut -d' ' -f 3 | cut -d':' -f 1 | xargs dpkg -L
71-
- uses: actions/download-artifact@master
72+
- uses: actions/download-artifact@v4
7273
with:
7374
# name: adflib-${{ env.ADFLIB_TAG }}-deb-ubuntu
7475
name: adflib-examples-tests

0 commit comments

Comments
 (0)