Skip to content

Commit

Permalink
FDS Build: Remove sh to allow bash shell to github linux actions
Browse files Browse the repository at this point in the history
  • Loading branch information
cxp484 committed Nov 26, 2024
1 parent 1e0d8da commit dffeb61
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 7 deletions.
4 changes: 0 additions & 4 deletions .github/workflows/linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,14 +43,12 @@ jobs:
run: |
source /opt/intel/oneapi/setvars.sh
cd ./Build/impi_intel_linux_db
bash
./make_fds.sh
./fds_impi_intel_linux_db
- name: build fds release
run: |
source /opt/intel/oneapi/setvars.sh
cd ./Build/impi_intel_linux
bash
./make_fds.sh
./fds_impi_intel_linux
# Setup python
Expand Down Expand Up @@ -90,13 +88,11 @@ jobs:
run: |
source /opt/intel/oneapi/setvars.sh
cd ./Build/ompi_gnu_linux_db
bash
./make_fds.sh
./fds_ompi_gnu_linux_db
- name: build fds release
run: |
source /opt/intel/oneapi/setvars.sh
cd ./Build/ompi_gnu_linux
bash
./make_fds.sh
./fds_ompi_gnu_linux
2 changes: 0 additions & 2 deletions Build/Scripts/build_thirdparty_libs.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
#!/bin/bash

echo "Current shell: $SHELL"

# Decide compilers
source ../Scripts/set_compilers.sh

Expand Down
2 changes: 1 addition & 1 deletion Build/impi_intel_linux_db/make_fds.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ target=${dir##*/}

# Compile third-party libraries
export FDS_BUILD_TARGET=$target
sh ../Scripts/build_thirdparty_libs.sh "$@"
source ../Scripts/build_thirdparty_libs.sh "$@"

# Build fds
echo Building $target
Expand Down

0 comments on commit dffeb61

Please sign in to comment.