Skip to content

Commit

Permalink
git submodules updated
Browse files Browse the repository at this point in the history
  • Loading branch information
Casper Boon committed Apr 10, 2024
1 parent 9b3b32b commit 2e57334
Show file tree
Hide file tree
Showing 7 changed files with 42 additions and 4 deletions.
13 changes: 13 additions & 0 deletions build_lnx.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
#!/bin/sh

cd $GITHUB_WORKSPACE/fv-source
./build_aed-fv.sh
mkdir -p $GITHUB_WORKSPACE/binaries/ubuntu/20.04
cp -r $GITHUB_WORKSPACE/fv-source/binaries/ubuntu/20.04/* $GITHUB_WORKSPACE/binaries/ubuntu/20.04/.

# git config --global user.name "github-actions[bot]"
# git config --global user.email "41898282+github-actions[bot]@users.noreply.github.com"
# git pull
# git add -A
# git commit -m "Update Ubuntu 20.04 binaries"
# git push
17 changes: 17 additions & 0 deletions build_win.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# #!/bin/sh
#
export GITHUB_WORKSPACE=`pwd`

cd $GITHUB_WORKSPACE/fv-source/libaed-fv/win
cmd.exe '/c build_fv.bat'
echo '========================='
cd $GITHUB_WORKSPACE/fv-source/libaed-fv/win/x64-Release
mkdir -p tuflowfv_external_wq
export VERSION=`grep FV_AED_VERS ../../src/fv_aed.F90 | grep define | cut -f2 -d\"`
mv tuflowfv_external_wq.??? tuflowfv_external_wq
powershell -Command "Compress-Archive -LiteralPath tuflowfv_external_wq -DestinationPath tuflowfv_external_wq_$VERSION.zip"
echo
if [ ! -d $GITHUB_WORKSPACE/binaries/windows ] ; then
mkdir -p $GITHUB_WORKSPACE/binaries/windows
fi
cp tuflowfv_external_wq_$VERSION.zip $GITHUB_WORKSPACE/binaries/windows
2 changes: 1 addition & 1 deletion fv-source/libaed-demo
2 changes: 1 addition & 1 deletion fv-source/libaed-fv
8 changes: 8 additions & 0 deletions inst_comp_win.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# Although VS-2019 is already installed it's missing some parts needed, so we do it anyway
curl -SL --ssl-no-revoke --output vs_community.exe https://aka.ms/vs/16/release/vs_community.exe
./vs_community.exe --quiet --norestart --wait --add Microsoft.VisualStudio.Workload.NativeDesktop --includeRecommended
#
curl -SL --ssl-no-revoke --output w_fortran-compiler_p_2023.0.0.25579_offline.exe https://registrationcenter-download.intel.com/akdlm/irc_nas/19107/w_fortran-compiler_p_2023.0.0.25579_offline.exe
mkdir tmp
./w_fortran-compiler_p_2023.0.0.25579_offline.exe -s -f tmp -a --silent --cli --action install --eula accept

0 comments on commit 2e57334

Please sign in to comment.