Skip to content

Commit

Permalink
BUG: create test profile files
Browse files Browse the repository at this point in the history
Create test profile files for use.
  • Loading branch information
aburrell committed Oct 2, 2024
1 parent 87cc308 commit 859301f
Show file tree
Hide file tree
Showing 3 changed files with 52 additions and 5 deletions.
32 changes: 32 additions & 0 deletions .github/test_profiles/base.bash.darwin
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
# base.bash
# =========

#####################################################################
# #
# Compilation directives #
# #
#####################################################################

export XPATH="/usr/X11R6"

# Compile netCDF software

export NETCDF_PATH="/opt/homebrew/"

# pathname for the CDF software

export CDF_PATH="$HOME/Applications/cdf/cdf39_0-dist/"

# SVG library

export SVGLIB="rsvg.1"

#####################################################################
# #
# Font Data Tables #
# #
#####################################################################

export FONTPATH=${RSTPATH}"/tables/base/fonts"
export FONTDB=${RSTPATH}"/tables/base/fonts/fontdb.xml"

16 changes: 16 additions & 0 deletions .github/test_profiles/profile.bash.darwin
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# .profile.bash
# =============

export OSTYPE="darwin"
export SYSTEM="darwin"
export VISUAL="vim"
export EDITOR="$VISUAL"
export PATH="${PATH}:/opt/homebrew/bin:/opt/local/bin:/usr/bin/:/usr/local/bin:${HOME}/bin:${HOME}/script"

. $RSTPATH/.profile/rst.bash
. $RSTPATH/.profile/base.bash
. $RSTPATH/.profile/general.bash
. $RSTPATH/.profile/superdarn.bash

. $RSTPATH/.profile/idl.bash

9 changes: 4 additions & 5 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,13 +59,12 @@ jobs:
- name: Build and make MacOS code
if: startsWith(matrix.os, 'mac')
run: |
export PATH="/opt/homebrew:$PATH"
export RSTPATH=$(pwd)
cp .github/test_profiles/profile.bash.darwin .profile.bash
cp .github/test_profiles/base.bash.darwin .profile/base.bash
source .profile.bash
export OSTYPE="darwin"
export SYSTEM="darwin"
export NETCDF_PATH="/opt/homebrew/include"
echo $PATH
echo $SYSTEM
echo $OSTYPE
echo $NETCDF_PATH
build/script/make.build
build/script/make.code
Expand Down

0 comments on commit 859301f

Please sign in to comment.