mirror of
https://git.gfz-potsdam.de/naaice/iphreeqc.git
synced 2025-12-16 08:38:23 +01:00
updated distcheck
This commit is contained in:
parent
bcb5c8dd87
commit
a736c7daca
239
.github/workflows/cmake.yml
vendored
239
.github/workflows/cmake.yml
vendored
@ -108,137 +108,140 @@ jobs:
|
|||||||
# echo DATE=${{ needs.init.outputs.DATE }}
|
# echo DATE=${{ needs.init.outputs.DATE }}
|
||||||
|
|
||||||
|
|
||||||
# distcheck:
|
distcheck:
|
||||||
# needs: [init]
|
needs: [init, chm]
|
||||||
# runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
# steps:
|
steps:
|
||||||
# - uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
|
|
||||||
# # @todo
|
- uses: actions/download-artifact@v2
|
||||||
# - name: chm
|
with:
|
||||||
# run: touch doc/phreeqc3.chm
|
name: chm
|
||||||
|
|
||||||
# - name: versioning
|
- name: extract chm
|
||||||
# run: ./jenkins-dist.sh -v ${{ needs.init.outputs.VER }} -r ${{ needs.init.outputs.REL }} -d ${{ needs.init.outputs.DATE }}
|
run: unzip chm.zip -d doc/.
|
||||||
|
|
||||||
# - name: doxygen
|
- name: versioning
|
||||||
# run: sudo apt-get install -y doxygen && cd doc && doxygen
|
run: ./jenkins-dist.sh -v ${{ needs.init.outputs.VER }} -r ${{ needs.init.outputs.REL }} -d ${{ needs.init.outputs.DATE }}
|
||||||
|
|
||||||
# - name: autoreconf
|
- name: doxygen
|
||||||
# run: autoreconf -fvi
|
run: sudo apt-get install -y doxygen && cd doc && doxygen
|
||||||
|
|
||||||
# - name: mkdir
|
- name: autoreconf
|
||||||
# run: mkdir _build
|
run: autoreconf -fvi
|
||||||
|
|
||||||
# - name: configure
|
- name: mkdir
|
||||||
# working-directory: ${{github.workspace}}/_build
|
run: mkdir _build
|
||||||
# run: ../configure --prefix=$(pwd)/INSTALL
|
|
||||||
|
|
||||||
# - name: make
|
- name: configure
|
||||||
# working-directory: ${{github.workspace}}/_build
|
working-directory: ${{github.workspace}}/_build
|
||||||
# run: make -j2 distcheck
|
run: ../configure --prefix=$(pwd)/INSTALL
|
||||||
|
|
||||||
# - name: convert
|
- name: make
|
||||||
# run: |
|
working-directory: ${{github.workspace}}/_build
|
||||||
# sudo apt install -y dos2unix
|
run: make -j2 distcheck
|
||||||
# native="
|
|
||||||
# doc/Makefile \
|
|
||||||
# doc/examples/AccumulateLine.c \
|
|
||||||
# doc/examples/CreateIPhreeqc.c \
|
|
||||||
# doc/examples/F90ClearAccumulatedLines.f90 \
|
|
||||||
# doc/examples/F90CreateIPhreeqc.f90 \
|
|
||||||
# doc/examples/F90DestroyIPhreeqc.f90 \
|
|
||||||
# doc/examples/F90GetComponent.f90 \
|
|
||||||
# doc/examples/F90GetDumpStringLine.f90 \
|
|
||||||
# doc/examples/F90GetSelectedOutputValue.f90 \
|
|
||||||
# doc/examples/F90GetVersionString.f90 \
|
|
||||||
# doc/examples/GetComponent.c \
|
|
||||||
# doc/examples/GetDumpString.c \
|
|
||||||
# doc/examples/GetSelectedOutputValue.c \
|
|
||||||
# doc/examples/GetVersionString.c \
|
|
||||||
# doc/examples/IPhreeqc.cpp \
|
|
||||||
# doc/examples/Makefile \
|
|
||||||
# doc/examples/phreeqc.dat \
|
|
||||||
# src/CSelectedOutput.cpp \
|
|
||||||
# src/CSelectedOutput.hxx \
|
|
||||||
# src/CVar.hxx \
|
|
||||||
# src/Debug.h \
|
|
||||||
# src/ErrorReporter.hxx \
|
|
||||||
# src/IPhreeqc.cpp \
|
|
||||||
# src/IPhreeqc.f.inc \
|
|
||||||
# src/IPhreeqc.f90.inc \
|
|
||||||
# src/IPhreeqc.h \
|
|
||||||
# src/IPhreeqc.hpp \
|
|
||||||
# src/IPhreeqcCallbacks.h \
|
|
||||||
# src/IPhreeqcF.f \
|
|
||||||
# src/IPhreeqcLib.cpp \
|
|
||||||
# src/IPhreeqc_interface.F90 \
|
|
||||||
# src/IPhreeqc_interface_F.cpp \
|
|
||||||
# src/IPhreeqc_interface_F.h \
|
|
||||||
# src/Var.c \
|
|
||||||
# src/Var.h \
|
|
||||||
# src/Version.h \
|
|
||||||
# src/fimpl.h \
|
|
||||||
# src/fwrap.cpp \
|
|
||||||
# src/fwrap.h \
|
|
||||||
# src/fwrap1.cpp \
|
|
||||||
# src/fwrap2.cpp \
|
|
||||||
# src/fwrap3.cpp \
|
|
||||||
# src/fwrap4.cpp \
|
|
||||||
# src/fwrap5.cpp \
|
|
||||||
# src/fwrap6.cpp \
|
|
||||||
# src/fwrap7.cpp \
|
|
||||||
# src/fwrap8.cpp \
|
|
||||||
# src/pp_sys.cpp \
|
|
||||||
# src/thread.h \
|
|
||||||
# test/llnl.dat \
|
|
||||||
# test/phreeqc.dat \
|
|
||||||
# test2/Makefile \
|
|
||||||
# test2/wateq4f.dat \
|
|
||||||
# test5/Makefile \
|
|
||||||
# test5/phreeqc.dat \
|
|
||||||
# test5/test5.c \
|
|
||||||
# tests/main_fortran.cxx \
|
|
||||||
# tests/test_c.c \
|
|
||||||
# tests/test_cxx.cxx \
|
|
||||||
# tests/test_f90.F90 \
|
|
||||||
# unit/TestCVar.cpp \
|
|
||||||
# unit/TestCVar.h \
|
|
||||||
# unit/TestInterface.cpp \
|
|
||||||
# unit/TestInterface.h \
|
|
||||||
# unit/TestSelectedOutput.cpp \
|
|
||||||
# unit/TestSelectedOutput.h \
|
|
||||||
# unit/TestVar.cpp \
|
|
||||||
# unit/TestVar.h \
|
|
||||||
# unit/llnl.dat.old \
|
|
||||||
# unit/missing_e.dat \
|
|
||||||
# unit/phreeqc.dat.old \
|
|
||||||
# unit/unit.cpp"
|
|
||||||
# for f in ${native}; do
|
|
||||||
# unix2dos "${f}"
|
|
||||||
# done
|
|
||||||
|
|
||||||
# - name: dist-zip
|
- name: convert
|
||||||
# working-directory: ${{github.workspace}}/_build
|
run: |
|
||||||
# run: make dist-zip
|
sudo apt install -y dos2unix
|
||||||
|
native="
|
||||||
|
doc/Makefile \
|
||||||
|
doc/examples/AccumulateLine.c \
|
||||||
|
doc/examples/CreateIPhreeqc.c \
|
||||||
|
doc/examples/F90ClearAccumulatedLines.f90 \
|
||||||
|
doc/examples/F90CreateIPhreeqc.f90 \
|
||||||
|
doc/examples/F90DestroyIPhreeqc.f90 \
|
||||||
|
doc/examples/F90GetComponent.f90 \
|
||||||
|
doc/examples/F90GetDumpStringLine.f90 \
|
||||||
|
doc/examples/F90GetSelectedOutputValue.f90 \
|
||||||
|
doc/examples/F90GetVersionString.f90 \
|
||||||
|
doc/examples/GetComponent.c \
|
||||||
|
doc/examples/GetDumpString.c \
|
||||||
|
doc/examples/GetSelectedOutputValue.c \
|
||||||
|
doc/examples/GetVersionString.c \
|
||||||
|
doc/examples/IPhreeqc.cpp \
|
||||||
|
doc/examples/Makefile \
|
||||||
|
doc/examples/phreeqc.dat \
|
||||||
|
src/CSelectedOutput.cpp \
|
||||||
|
src/CSelectedOutput.hxx \
|
||||||
|
src/CVar.hxx \
|
||||||
|
src/Debug.h \
|
||||||
|
src/ErrorReporter.hxx \
|
||||||
|
src/IPhreeqc.cpp \
|
||||||
|
src/IPhreeqc.f.inc \
|
||||||
|
src/IPhreeqc.f90.inc \
|
||||||
|
src/IPhreeqc.h \
|
||||||
|
src/IPhreeqc.hpp \
|
||||||
|
src/IPhreeqcCallbacks.h \
|
||||||
|
src/IPhreeqcF.f \
|
||||||
|
src/IPhreeqcLib.cpp \
|
||||||
|
src/IPhreeqc_interface.F90 \
|
||||||
|
src/IPhreeqc_interface_F.cpp \
|
||||||
|
src/IPhreeqc_interface_F.h \
|
||||||
|
src/Var.c \
|
||||||
|
src/Var.h \
|
||||||
|
src/Version.h \
|
||||||
|
src/fimpl.h \
|
||||||
|
src/fwrap.cpp \
|
||||||
|
src/fwrap.h \
|
||||||
|
src/fwrap1.cpp \
|
||||||
|
src/fwrap2.cpp \
|
||||||
|
src/fwrap3.cpp \
|
||||||
|
src/fwrap4.cpp \
|
||||||
|
src/fwrap5.cpp \
|
||||||
|
src/fwrap6.cpp \
|
||||||
|
src/fwrap7.cpp \
|
||||||
|
src/fwrap8.cpp \
|
||||||
|
src/pp_sys.cpp \
|
||||||
|
src/thread.h \
|
||||||
|
test/llnl.dat \
|
||||||
|
test/phreeqc.dat \
|
||||||
|
test2/Makefile \
|
||||||
|
test2/wateq4f.dat \
|
||||||
|
test5/Makefile \
|
||||||
|
test5/phreeqc.dat \
|
||||||
|
test5/test5.c \
|
||||||
|
tests/main_fortran.cxx \
|
||||||
|
tests/test_c.c \
|
||||||
|
tests/test_cxx.cxx \
|
||||||
|
tests/test_f90.F90 \
|
||||||
|
unit/TestCVar.cpp \
|
||||||
|
unit/TestCVar.h \
|
||||||
|
unit/TestInterface.cpp \
|
||||||
|
unit/TestInterface.h \
|
||||||
|
unit/TestSelectedOutput.cpp \
|
||||||
|
unit/TestSelectedOutput.h \
|
||||||
|
unit/TestVar.cpp \
|
||||||
|
unit/TestVar.h \
|
||||||
|
unit/llnl.dat.old \
|
||||||
|
unit/missing_e.dat \
|
||||||
|
unit/phreeqc.dat.old \
|
||||||
|
unit/unit.cpp"
|
||||||
|
for f in ${native}; do
|
||||||
|
unix2dos "${f}"
|
||||||
|
done
|
||||||
|
|
||||||
# - name: copy
|
- name: dist-zip
|
||||||
# run: cp doc/README IPhreeqc_ReadMe.txt
|
working-directory: ${{github.workspace}}/_build
|
||||||
|
run: make dist-zip
|
||||||
|
|
||||||
# - uses: actions/upload-artifact@v2
|
- name: copy
|
||||||
# with:
|
run: cp doc/README IPhreeqc_ReadMe.txt
|
||||||
# name: readme
|
|
||||||
# path: ${{github.workspace}}/IPhreeqc_ReadMe.txt
|
|
||||||
|
|
||||||
# - uses: actions/upload-artifact@v2
|
- uses: actions/upload-artifact@v2
|
||||||
# with:
|
with:
|
||||||
# name: tarball
|
name: readme
|
||||||
# path: ${{github.workspace}}/_build/*.tar.gz
|
path: ${{github.workspace}}/IPhreeqc_ReadMe.txt
|
||||||
|
|
||||||
# - uses: actions/upload-artifact@v2
|
- uses: actions/upload-artifact@v2
|
||||||
# with:
|
with:
|
||||||
# name: zipball
|
name: tarball
|
||||||
# path: ${{github.workspace}}/_build/*.zip
|
path: ${{github.workspace}}/_build/*.tar.gz
|
||||||
|
|
||||||
|
- uses: actions/upload-artifact@v2
|
||||||
|
with:
|
||||||
|
name: zipball
|
||||||
|
path: ${{github.workspace}}/_build/*.zip
|
||||||
|
|
||||||
# build:
|
# build:
|
||||||
# needs: [init]
|
# needs: [init]
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user