ci(github-actions): comment out cmake.yml workflow

This commit is contained in:
Max Lübke 2025-10-28 09:54:14 +01:00
parent cd4c26beed
commit 9d48f28708

View File

@ -1,296 +1,296 @@
name: CMake # name: CMake
#
on: # on:
push: # push:
#
pull_request: # pull_request:
branches: # branches:
- master # - master
#
schedule: # schedule:
- cron: '15 14 4,11,18,25 * *' # - cron: '15 14 4,11,18,25 * *'
#
workflow_dispatch: # workflow_dispatch:
#
env: # env:
# Customize the CMake build type here (Release, Debug, RelWithDebInfo, etc.) # # Customize the CMake build type here (Release, Debug, RelWithDebInfo, etc.)
BUILD_TYPE: Release # BUILD_TYPE: Release
NAME: IPhreeqc # NAME: IPhreeqc
#
jobs: # jobs:
#
init: # init:
runs-on: ubuntu-latest # runs-on: ubuntu-latest
# Map step outputs to job outputs # # Map step outputs to job outputs
outputs: # outputs:
VER: ${{ steps.vars.outputs.VER }} # VER: ${{ steps.vars.outputs.VER }}
REL: ${{ steps.vars.outputs.REL }} # REL: ${{ steps.vars.outputs.REL }}
DATE: ${{ steps.vars.outputs.DATE }} # DATE: ${{ steps.vars.outputs.DATE }}
DATE_RFC_3339: ${{ steps.vars.outputs.DATE_RFC_3339 }} # DATE_RFC_3339: ${{ steps.vars.outputs.DATE_RFC_3339 }}
steps: # steps:
- name: Setup vars # - name: Setup vars
id: vars # id: vars
run: | # run: |
echo VER=$(curl -sS https://raw.githubusercontent.com/usgs-coupled/phreeqc-version/main/next_ver.sh | sh) >> $GITHUB_OUTPUT # echo VER=$(curl -sS https://raw.githubusercontent.com/usgs-coupled/phreeqc-version/main/next_ver.sh | sh) >> $GITHUB_OUTPUT
echo REL=$(curl -sS https://raw.githubusercontent.com/usgs-coupled/phreeqc-version/main/rel.py | python3) >> $GITHUB_OUTPUT # echo REL=$(curl -sS https://raw.githubusercontent.com/usgs-coupled/phreeqc-version/main/rel.py | python3) >> $GITHUB_OUTPUT
echo DATE=$(date "+%x") >> $GITHUB_OUTPUT # echo DATE=$(date "+%x") >> $GITHUB_OUTPUT
echo DATE_RFC_3339=$(date --rfc-3339=date) >> $GITHUB_OUTPUT # echo DATE_RFC_3339=$(date --rfc-3339=date) >> $GITHUB_OUTPUT
#
#
test: # test:
strategy: # strategy:
fail-fast: false # fail-fast: false
matrix: # matrix:
os: [macos-latest, ubuntu-latest, windows-latest] # os: [macos-latest, ubuntu-latest, windows-latest]
#
runs-on: ${{ matrix.os }} # runs-on: ${{ matrix.os }}
env: # env:
BUILD_DIR: _ctest # set in ctest.cmake # BUILD_DIR: _ctest # set in ctest.cmake
#
steps: # steps:
- uses: actions/checkout@v4 # - uses: actions/checkout@v4
#
- name: Install ninja valgrind (Linux) # - name: Install ninja valgrind (Linux)
if: runner.os == 'Linux' # if: runner.os == 'Linux'
run: sudo apt-get update && sudo apt-get install -y ninja-build valgrind # run: sudo apt-get update && sudo apt-get install -y ninja-build valgrind
#
- name: Install ninja (macOS) # - name: Install ninja (macOS)
if: runner.os == 'macOS' # if: runner.os == 'macOS'
run: brew install ninja # run: brew install ninja
#
- name: Set up Visual Studio shell (Windows) # - name: Set up Visual Studio shell (Windows)
if: runner.os == 'Windows' # if: runner.os == 'Windows'
uses: egor-tensin/vs-shell@v2 # uses: egor-tensin/vs-shell@v2
with: # with:
arch: x64 # arch: x64
#
- name: CTest # - name: CTest
run: ctest -S ctest.cmake -V --output-on-failure --timeout 900 # run: ctest -S ctest.cmake -V --output-on-failure --timeout 900
#
- name: Upload results # - name: Upload results
uses: actions/upload-artifact@v4 # uses: actions/upload-artifact@v4
with: # with:
name: ${{ matrix.os }}-${{ github.job }}-results # name: ${{ matrix.os }}-${{ github.job }}-results
path: ${{ github.workspace }}/${{ env.BUILD_DIR }}/Testing/ # path: ${{ github.workspace }}/${{ env.BUILD_DIR }}/Testing/
#
test-shared: # test-shared:
strategy: # strategy:
fail-fast: false # fail-fast: false
matrix: # matrix:
os: [macos-latest, ubuntu-latest, windows-latest] # os: [macos-latest, ubuntu-latest, windows-latest]
#
runs-on: ${{ matrix.os }} # runs-on: ${{ matrix.os }}
env: # env:
BUILD_DIR: _ctest_shared # set in ctest-shared.cmake # BUILD_DIR: _ctest_shared # set in ctest-shared.cmake
#
steps: # steps:
- uses: actions/checkout@v4 # - uses: actions/checkout@v4
#
- name: Install ninja valgrind (Linux) # - name: Install ninja valgrind (Linux)
if: runner.os == 'Linux' # if: runner.os == 'Linux'
run: sudo apt-get update && sudo apt-get install -y ninja-build valgrind # run: sudo apt-get update && sudo apt-get install -y ninja-build valgrind
#
- name: Install ninja (macOS) # - name: Install ninja (macOS)
if: runner.os == 'macOS' # if: runner.os == 'macOS'
run: brew install ninja # run: brew install ninja
#
- name: Set up Visual Studio shell (Windows) # - name: Set up Visual Studio shell (Windows)
if: runner.os == 'Windows' # if: runner.os == 'Windows'
uses: egor-tensin/vs-shell@v2 # uses: egor-tensin/vs-shell@v2
with: # with:
arch: x64 # arch: x64
#
- name: CTest # - name: CTest
run: ctest -S ctest-shared.cmake -V --output-on-failure --timeout 900 # run: ctest -S ctest-shared.cmake -V --output-on-failure --timeout 900
#
- name: Upload results # - name: Upload results
uses: actions/upload-artifact@v4 # uses: actions/upload-artifact@v4
with: # with:
name: ${{ matrix.os }}-${{ github.job }}-results # name: ${{ matrix.os }}-${{ github.job }}-results
path: ${{ github.workspace }}/${{ env.BUILD_DIR }}/Testing/ # path: ${{ github.workspace }}/${{ env.BUILD_DIR }}/Testing/
#
test-clang: # test-clang:
strategy: # strategy:
fail-fast: false # fail-fast: false
matrix: # matrix:
os: [macos-latest, ubuntu-latest, windows-latest] # os: [macos-latest, ubuntu-latest, windows-latest]
shared_libs: [OFF, ON] # shared_libs: [OFF, ON]
enable_module: [OFF, ON] # enable_module: [OFF, ON]
#
runs-on: ${{ matrix.os }} # runs-on: ${{ matrix.os }}
env: # env:
BUILD_DIR: _build # BUILD_DIR: _build
#
steps: # steps:
- uses: actions/checkout@v4 # - uses: actions/checkout@v4
#
- name: Install ninja valgrind (Linux) # - name: Install ninja valgrind (Linux)
if: runner.os == 'Linux' # if: runner.os == 'Linux'
run: sudo apt-get update && sudo apt-get install -y ninja-build clang valgrind # run: sudo apt-get update && sudo apt-get install -y ninja-build clang valgrind
#
- name: Install ninja (macOS) # - name: Install ninja (macOS)
if: runner.os == 'macOS' # if: runner.os == 'macOS'
run: brew install ninja # run: brew install ninja
#
- name: Set up Visual Studio shell (Windows) # - name: Set up Visual Studio shell (Windows)
if: runner.os == 'Windows' # if: runner.os == 'Windows'
uses: egor-tensin/vs-shell@v2 # uses: egor-tensin/vs-shell@v2
with: # with:
arch: x64 # arch: x64
#
- name: CMake configure # - name: CMake configure
if: runner.os == 'Linux' # if: runner.os == 'Linux'
run: CC=clang CXX=clang++ cmake -B ${{ env.BUILD_DIR }} -DBUILD_SHARED_LIBS=${{ matrix.shared_libs }} -DIPHREEQC_ENABLE_MODULE=${{ matrix.enable_module }} -DCMAKE_CXX_STANDARD=20 -DCMAKE_CXX_STANDARD_REQUIRED=ON # run: CC=clang CXX=clang++ cmake -B ${{ env.BUILD_DIR }} -DBUILD_SHARED_LIBS=${{ matrix.shared_libs }} -DIPHREEQC_ENABLE_MODULE=${{ matrix.enable_module }} -DCMAKE_CXX_STANDARD=20 -DCMAKE_CXX_STANDARD_REQUIRED=ON
#
- name: CMake configure # - name: CMake configure
if: runner.os == 'macOS' # if: runner.os == 'macOS'
run: CC=$(brew --prefix llvm@15)/bin/clang CXX=$(brew --prefix llvm@15)/bin/clang++ cmake -B ${{ env.BUILD_DIR }} -DBUILD_SHARED_LIBS=${{ matrix.shared_libs }} -DIPHREEQC_ENABLE_MODULE=${{ matrix.enable_module }} -DCMAKE_CXX_STANDARD=20 -DCMAKE_CXX_STANDARD_REQUIRED=ON # run: CC=$(brew --prefix llvm@15)/bin/clang CXX=$(brew --prefix llvm@15)/bin/clang++ cmake -B ${{ env.BUILD_DIR }} -DBUILD_SHARED_LIBS=${{ matrix.shared_libs }} -DIPHREEQC_ENABLE_MODULE=${{ matrix.enable_module }} -DCMAKE_CXX_STANDARD=20 -DCMAKE_CXX_STANDARD_REQUIRED=ON
#
- name: CMake configure # - name: CMake configure
if: runner.os == 'Windows' # if: runner.os == 'Windows'
run: cmake -B ${{ env.BUILD_DIR }} -A x64 -T "ClangCL" -DBUILD_SHARED_LIBS=${{ matrix.shared_libs }} -DIPHREEQC_ENABLE_MODULE=${{ matrix.enable_module }} -DCMAKE_CXX_STANDARD=20 -DCMAKE_CXX_STANDARD_REQUIRED=ON # run: cmake -B ${{ env.BUILD_DIR }} -A x64 -T "ClangCL" -DBUILD_SHARED_LIBS=${{ matrix.shared_libs }} -DIPHREEQC_ENABLE_MODULE=${{ matrix.enable_module }} -DCMAKE_CXX_STANDARD=20 -DCMAKE_CXX_STANDARD_REQUIRED=ON
#
- name: CMake build # - name: CMake build
run: cmake --build ${{ env.BUILD_DIR }} # run: cmake --build ${{ env.BUILD_DIR }}
#
- name: CTest # - name: CTest
run: ctest --test-dir ${{ env.BUILD_DIR }} # run: ctest --test-dir ${{ env.BUILD_DIR }}
#
- name: Upload results # - name: Upload results
uses: actions/upload-artifact@v4 # uses: actions/upload-artifact@v4
with: # with:
name: ${{ matrix.os }}-${{ github.job }}-SHARED=${{ matrix.shared_libs }}-MODULE=${{ matrix.enable_module }}-results # name: ${{ matrix.os }}-${{ github.job }}-SHARED=${{ matrix.shared_libs }}-MODULE=${{ matrix.enable_module }}-results
path: ${{ github.workspace }}/${{ env.BUILD_DIR }}/Testing/ # path: ${{ github.workspace }}/${{ env.BUILD_DIR }}/Testing/
#
chm: # chm:
runs-on: windows-latest # runs-on: windows-latest
#
steps: # steps:
- name: Checkout phreeqc3-HTMLversion # - name: Checkout phreeqc3-HTMLversion
uses: actions/checkout@v4 # uses: actions/checkout@v4
with: # with:
repository: usgs-coupled-subtrees/phreeqc3-HTMLversion # repository: usgs-coupled-subtrees/phreeqc3-HTMLversion
ref: master # ref: master
#
- name: cache htmlhelp # - name: cache htmlhelp
id: cache-htmlhelp # id: cache-htmlhelp
uses: actions/cache@v4 # uses: actions/cache@v4
with: # with:
path: "C:/Program Files (x86)/HTML Help Workshop" # path: "C:/Program Files (x86)/HTML Help Workshop"
key: ${{ runner.os }}-htmlhelp # key: ${{ runner.os }}-htmlhelp
#
- name: install htmlhelp # - name: install htmlhelp
if: steps.cache-htmlhelp.outputs.cache-hit != 'true' # if: steps.cache-htmlhelp.outputs.cache-hit != 'true'
timeout-minutes: 5 # timeout-minutes: 5
run: | # run: |
curl -L -O --max-time 120 http://web.archive.org/web/20160201063255/http://download.microsoft.com/download/0/A/9/0A939EF6-E31C-430F-A3DF-DFAE7960D564/htmlhelp.exe # curl -L -O --max-time 120 http://web.archive.org/web/20160201063255/http://download.microsoft.com/download/0/A/9/0A939EF6-E31C-430F-A3DF-DFAE7960D564/htmlhelp.exe
cmd /c start /wait .\htmlhelp.exe /q /c /t:$(Get-Location)\tmp # cmd /c start /wait .\htmlhelp.exe /q /c /t:$(Get-Location)\tmp
$file = "$(Get-Location)\tmp\htmlhelp.inf" # $file = "$(Get-Location)\tmp\htmlhelp.inf"
(Get-Content $file) | Foreach-Object { $_ ` # (Get-Content $file) | Foreach-Object { $_ `
-replace '^BeginPrompt', ';;BeginPrompt' ` # -replace '^BeginPrompt', ';;BeginPrompt' `
-replace '^EndPrompt', ';;EndPrompt' ` # -replace '^EndPrompt', ';;EndPrompt' `
-replace '^49000=CustomLDID49000, 1', '49000=CustomLDID49000, 5' ` # -replace '^49000=CustomLDID49000, 1', '49000=CustomLDID49000, 5' `
-replace '^"hhupd.exe', ';;hhupd.exe' ` # -replace '^"hhupd.exe', ';;hhupd.exe' `
-replace '^DefaultInstallDir="C:\\Program Files\\HTML Help Workshop"', 'DefaultInstallDir="%ProgramFiles%\\HTML Help Workshop"' # -replace '^DefaultInstallDir="C:\\Program Files\\HTML Help Workshop"', 'DefaultInstallDir="%ProgramFiles%\\HTML Help Workshop"'
} | Set-Content $file # } | Set-Content $file
cmd /c start /wait .\tmp\setup.exe # cmd /c start /wait .\tmp\setup.exe
Remove-Item -Recurse -Force .\tmp # Remove-Item -Recurse -Force .\tmp
Remove-Item -Recurse -Force .\htmlhelp.exe # Remove-Item -Recurse -Force .\htmlhelp.exe
# the next line doesn't seem to work (supposed to set the path) # # the next line doesn't seem to work (supposed to set the path)
# echo 'C:\Program Files (x86)\HTML Help Workshop' >> $GITHUB_PATH # # echo 'C:\Program Files (x86)\HTML Help Workshop' >> $GITHUB_PATH
#
- name: compile chm # - name: compile chm
shell: bash # shell: bash
run: | # run: |
pushd HTML # pushd HTML
bash fixup_html.bash # bash fixup_html.bash
popd # popd
# hhc returns 1 on success # # hhc returns 1 on success
set +e # set +e
'C:\Program Files (x86)\HTML Help Workshop\hhc' phreeqc3.hhp | tee hhc.out # 'C:\Program Files (x86)\HTML Help Workshop\hhc' phreeqc3.hhp | tee hhc.out
status=${PIPESTATUS[0]} # status=${PIPESTATUS[0]}
set -e # set -e
if [ "$status" -eq 1 ]; then # if [ "$status" -eq 1 ]; then
echo "[OK]" # echo "[OK]"
exit 0 # exit 0
else # else
echo "[FAILED]" # echo "[FAILED]"
exit 1 # exit 1
fi # fi
#
- uses: actions/upload-artifact@v4 # - uses: actions/upload-artifact@v4
with: # with:
name: chm # name: chm
path: ${{github.workspace}}/phreeqc3.chm # path: ${{github.workspace}}/phreeqc3.chm
#
#
R-CMD-check: # R-CMD-check:
needs: [init] # needs: [init]
runs-on: ${{ matrix.config.os }} # runs-on: ${{ matrix.config.os }}
#
name: ${{ matrix.config.os }} (${{ matrix.config.r }}) # name: ${{ matrix.config.os }} (${{ matrix.config.r }})
#
strategy: # strategy:
fail-fast: false # fail-fast: false
matrix: # matrix:
config: # config:
- {os: macos-latest, r: 'release'} # - {os: macos-latest, r: 'release'}
- {os: windows-latest, r: 'release'} # - {os: windows-latest, r: 'release'}
- {os: ubuntu-latest, r: 'devel', http-user-agent: 'release'} # - {os: ubuntu-latest, r: 'devel', http-user-agent: 'release'}
- {os: ubuntu-latest, r: 'release'} # - {os: ubuntu-latest, r: 'release'}
- {os: ubuntu-latest, r: 'oldrel-1'} # - {os: ubuntu-latest, r: 'oldrel-1'}
#
steps: # steps:
- uses: actions/checkout@v4 # - uses: actions/checkout@v4
#
- name: versioning # - name: versioning
run: ./jenkins-dist.sh -v ${{ needs.init.outputs.VER }} -r ${{ needs.init.outputs.REL }} -d ${{ needs.init.outputs.DATE }} # run: ./jenkins-dist.sh -v ${{ needs.init.outputs.VER }} -r ${{ needs.init.outputs.REL }} -d ${{ needs.init.outputs.DATE }}
#
- name: Setup R # - name: Setup R
uses: r-lib/actions/setup-r@v2 # uses: r-lib/actions/setup-r@v2
with: # with:
r-version: ${{ matrix.config.r }} # r-version: ${{ matrix.config.r }}
http-user-agent: ${{ matrix.config.http-user-agent }} # http-user-agent: ${{ matrix.config.http-user-agent }}
use-public-rspm: true # use-public-rspm: true
#
- name: create source # - name: create source
working-directory: R # working-directory: R
run: make VERSION=${{ needs.init.outputs.VER }} RELEASE_DATE=${{ needs.init.outputs.DATE_RFC_3339 }} source # run: make VERSION=${{ needs.init.outputs.VER }} RELEASE_DATE=${{ needs.init.outputs.DATE_RFC_3339 }} source
#
- name: Install dependencies # - name: Install dependencies
uses: r-lib/actions/setup-r-dependencies@v2 # uses: r-lib/actions/setup-r-dependencies@v2
with: # with:
extra-packages: any::roxygen2, any::pkgbuild, any::rcmdcheck # extra-packages: any::roxygen2, any::pkgbuild, any::rcmdcheck
needs: roxygen2, pkgbuild, check # needs: roxygen2, pkgbuild, check
working-directory: R/phreeqc # working-directory: R/phreeqc
#
- name: Display sessionInfo() # - name: Display sessionInfo()
run: sessionInfo() # run: sessionInfo()
working-directory: R/phreeqc # working-directory: R/phreeqc
shell: Rscript {0} # shell: Rscript {0}
#
- name: roxygen2::roxygenise() # - name: roxygen2::roxygenise()
run: roxygen2::roxygenise() # run: roxygen2::roxygenise()
working-directory: R/phreeqc # working-directory: R/phreeqc
shell: Rscript {0} # shell: Rscript {0}
#
- name: Check # - name: Check
uses: r-lib/actions/check-r-package@v2 # uses: r-lib/actions/check-r-package@v2
with: # with:
working-directory: R/phreeqc # working-directory: R/phreeqc
#
- name: List files # - name: List files
if: matrix.config.os == 'ubuntu-latest' && matrix.config.r == 'release' # if: matrix.config.os == 'ubuntu-latest' && matrix.config.r == 'release'
run: | # run: |
pwd # pwd
ls -lR # ls -lR
find -name "*.tar.gz" # find -name "*.tar.gz"
#
- uses: actions/upload-artifact@v4 # - uses: actions/upload-artifact@v4
if: matrix.config.os == 'ubuntu-latest' && matrix.config.r == 'release' # if: matrix.config.os == 'ubuntu-latest' && matrix.config.r == 'release'
with: # with:
name: cran # name: cran
path: ${{ github.workspace }}/R/phreeqc/check/phreeqc_*.tar.gz # path: ${{ github.workspace }}/R/phreeqc/check/phreeqc_*.tar.gz
# r-build: # r-build:
@ -373,140 +373,140 @@ jobs:
# path: ${{github.workspace}}/R/valgrind.full.out # path: ${{github.workspace}}/R/valgrind.full.out
distcheck: # distcheck:
needs: [init, chm] # needs: [init, chm]
runs-on: ubuntu-latest # runs-on: ubuntu-latest
steps: # steps:
- uses: actions/checkout@v4 # - uses: actions/checkout@v4
#
- uses: actions/download-artifact@v4 # - uses: actions/download-artifact@v4
with: # with:
name: chm # name: chm
#
- name: mv chm # - name: mv chm
run: mv phreeqc3.chm doc/. # run: mv phreeqc3.chm doc/.
#
- name: versioning # - name: versioning
run: ./jenkins-dist.sh -v ${{ needs.init.outputs.VER }} -r ${{ needs.init.outputs.REL }} -d ${{ needs.init.outputs.DATE }} # run: ./jenkins-dist.sh -v ${{ needs.init.outputs.VER }} -r ${{ needs.init.outputs.REL }} -d ${{ needs.init.outputs.DATE }}
#
- name: doxygen # - name: doxygen
run: sudo apt-get install -y doxygen && cd doc && doxygen # run: sudo apt-get install -y doxygen && cd doc && doxygen
#
- name: autoreconf # - name: autoreconf
run: autoreconf -fvi # run: autoreconf -fvi
#
- name: mkdir # - name: mkdir
run: mkdir _build # run: mkdir _build
#
- name: configure # - name: configure
working-directory: ${{github.workspace}}/_build # working-directory: ${{github.workspace}}/_build
run: ../configure --prefix=$(pwd)/INSTALL # run: ../configure --prefix=$(pwd)/INSTALL
#
- name: make # - name: make
working-directory: ${{github.workspace}}/_build # working-directory: ${{github.workspace}}/_build
run: make -j2 distcheck # run: make -j2 distcheck
#
- name: convert # - name: convert
run: | # run: |
sudo apt install -y dos2unix # sudo apt install -y dos2unix
native=" # native="
doc/Makefile \ # doc/Makefile \
doc/examples/AccumulateLine.c \ # doc/examples/AccumulateLine.c \
doc/examples/CreateIPhreeqc.c \ # doc/examples/CreateIPhreeqc.c \
doc/examples/F90ClearAccumulatedLines.f90 \ # doc/examples/F90ClearAccumulatedLines.f90 \
doc/examples/F90CreateIPhreeqc.f90 \ # doc/examples/F90CreateIPhreeqc.f90 \
doc/examples/F90DestroyIPhreeqc.f90 \ # doc/examples/F90DestroyIPhreeqc.f90 \
doc/examples/F90GetComponent.f90 \ # doc/examples/F90GetComponent.f90 \
doc/examples/F90GetDumpStringLine.f90 \ # doc/examples/F90GetDumpStringLine.f90 \
doc/examples/F90GetSelectedOutputValue.f90 \ # doc/examples/F90GetSelectedOutputValue.f90 \
doc/examples/F90GetVersionString.f90 \ # doc/examples/F90GetVersionString.f90 \
doc/examples/GetComponent.c \ # doc/examples/GetComponent.c \
doc/examples/GetDumpString.c \ # doc/examples/GetDumpString.c \
doc/examples/GetSelectedOutputValue.c \ # doc/examples/GetSelectedOutputValue.c \
doc/examples/GetVersionString.c \ # doc/examples/GetVersionString.c \
doc/examples/IPhreeqc.cpp \ # doc/examples/IPhreeqc.cpp \
doc/examples/Makefile \ # doc/examples/Makefile \
doc/examples/phreeqc.dat \ # doc/examples/phreeqc.dat \
src/CSelectedOutput.cpp \ # src/CSelectedOutput.cpp \
src/CSelectedOutput.hxx \ # src/CSelectedOutput.hxx \
src/CVar.hxx \ # src/CVar.hxx \
src/Debug.h \ # src/Debug.h \
src/ErrorReporter.hxx \ # src/ErrorReporter.hxx \
src/IPhreeqc.cpp \ # src/IPhreeqc.cpp \
src/IPhreeqc.f.inc \ # src/IPhreeqc.f.inc \
src/IPhreeqc.f90.inc \ # src/IPhreeqc.f90.inc \
src/IPhreeqc.h \ # src/IPhreeqc.h \
src/IPhreeqc.hpp \ # src/IPhreeqc.hpp \
src/IPhreeqcCallbacks.h \ # src/IPhreeqcCallbacks.h \
src/IPhreeqcF.f \ # src/IPhreeqcF.f \
src/IPhreeqcLib.cpp \ # src/IPhreeqcLib.cpp \
src/IPhreeqc_interface.F90 \ # src/IPhreeqc_interface.F90 \
src/IPhreeqc_interface_F.cpp \ # src/IPhreeqc_interface_F.cpp \
src/IPhreeqc_interface_F.h \ # src/IPhreeqc_interface_F.h \
src/Var.c \ # src/Var.c \
src/Var.h \ # src/Var.h \
src/Version.h \ # src/Version.h \
src/fimpl.h \ # src/fimpl.h \
src/fwrap.cpp \ # src/fwrap.cpp \
src/fwrap.h \ # src/fwrap.h \
src/fwrap1.cpp \ # src/fwrap1.cpp \
src/fwrap2.cpp \ # src/fwrap2.cpp \
src/fwrap3.cpp \ # src/fwrap3.cpp \
src/fwrap4.cpp \ # src/fwrap4.cpp \
src/fwrap5.cpp \ # src/fwrap5.cpp \
src/fwrap6.cpp \ # src/fwrap6.cpp \
src/fwrap7.cpp \ # src/fwrap7.cpp \
src/fwrap8.cpp \ # src/fwrap8.cpp \
src/pp_sys.cpp \ # src/pp_sys.cpp \
src/thread.h \ # src/thread.h \
test/llnl.dat \ # test/llnl.dat \
test/phreeqc.dat \ # test/phreeqc.dat \
test2/Makefile \ # test2/Makefile \
test2/wateq4f.dat \ # test2/wateq4f.dat \
test5/Makefile \ # test5/Makefile \
test5/phreeqc.dat \ # test5/phreeqc.dat \
test5/test5.c \ # test5/test5.c \
tests/main_fortran.cxx \ # tests/main_fortran.cxx \
tests/test_c.c \ # tests/test_c.c \
tests/test_cxx.cxx \ # tests/test_cxx.cxx \
tests/test_f90.F90 \ # tests/test_f90.F90 \
unit/TestCVar.cpp \ # unit/TestCVar.cpp \
unit/TestCVar.h \ # unit/TestCVar.h \
unit/TestInterface.cpp \ # unit/TestInterface.cpp \
unit/TestInterface.h \ # unit/TestInterface.h \
unit/TestSelectedOutput.cpp \ # unit/TestSelectedOutput.cpp \
unit/TestSelectedOutput.h \ # unit/TestSelectedOutput.h \
unit/TestVar.cpp \ # unit/TestVar.cpp \
unit/TestVar.h \ # unit/TestVar.h \
unit/llnl.dat.old \ # unit/llnl.dat.old \
unit/missing_e.dat \ # unit/missing_e.dat \
unit/phreeqc.dat.old \ # unit/phreeqc.dat.old \
unit/unit.cpp" # unit/unit.cpp"
for f in ${native}; do # for f in ${native}; do
unix2dos "${f}" # unix2dos "${f}"
done # done
#
- name: dist-zip # - name: dist-zip
working-directory: ${{github.workspace}}/_build # working-directory: ${{github.workspace}}/_build
run: make dist-zip # run: make dist-zip
#
- name: copy # - name: copy
run: cp doc/README IPhreeqc_ReadMe.txt # run: cp doc/README IPhreeqc_ReadMe.txt
#
- uses: actions/upload-artifact@v4 # - uses: actions/upload-artifact@v4
with: # with:
name: readme # name: readme
path: ${{github.workspace}}/IPhreeqc_ReadMe.txt # path: ${{github.workspace}}/IPhreeqc_ReadMe.txt
#
- uses: actions/upload-artifact@v4 # - uses: actions/upload-artifact@v4
with: # with:
name: tarball # name: tarball
path: ${{github.workspace}}/_build/*.tar.gz # path: ${{github.workspace}}/_build/*.tar.gz
#
- uses: actions/upload-artifact@v4 # - uses: actions/upload-artifact@v4
with: # with:
name: zipball # name: zipball
path: ${{github.workspace}}/_build/*.zip # path: ${{github.workspace}}/_build/*.zip
# build: # build:
# needs: [init] # needs: [init]