add github actions

This commit is contained in:
Mārtiņš Možeiko
2021-11-14 18:13:28 -08:00
parent b07e706dfb
commit fdab8bd6b2
15 changed files with 62 additions and 9 deletions
+2
View File
@@ -1,5 +1,7 @@
#!/bin/bash
set -eo pipefail
###### Get Paths ##############################################################
og_path=$PWD
cd "$(dirname "$0")"
+5 -5
View File
@@ -1,5 +1,7 @@
#!/bin/bash
set -eo pipefail
###### Usage ##################################################################
# ./bld_core.sh <command> [arguments ...]
#
@@ -548,8 +550,8 @@ if [ "$OSTYPE" == "win32" ] ||
os="windows"
elif [ "$OSTYPE" == "linux-gnu" ]; then
os="linux"
elif [ "$OSTYPE" == "darwin" ]; then
os="osx"
elif [[ "$OSTYPE" == "darwin"* ]]; then
os="mac"
fi
@@ -593,13 +595,11 @@ fi
###### Binary File Extension ##################################################
dot_ext_exe=""
dot_ext_exe=".exe"
dot_ext_dll=""
if [ "$os" == "windows" ]; then
dot_ext_exe=".exe"
dot_ext_dll=".dll"
elif [ "$os" == "linux" ] || [ "$os" == "mac" ]; then
dot_ext_exe=""
dot_ext_dll=".so"
else
echo "ERROR: binary extension not defined for OS: $os"
+2
View File
@@ -1,5 +1,7 @@
#!/bin/bash
set -eo pipefail
###### Usage ##################################################################
# ./bld_init.sh
# Clears out the local folder and populates it with default initial scripts.
+2
View File
@@ -1,5 +1,7 @@
#!/bin/bash
set -eo pipefail
###### Get Paths ##############################################################
og_path=$PWD
cd "$(dirname "$0")"
+2
View File
@@ -1,5 +1,7 @@
#!/bin/bash
set -eo pipefail
###### Get Paths ##############################################################
og_path=$PWD
cd "$(dirname "$0")"
View File
View File
View File
View File
View File
+2 -2
View File
@@ -1,5 +1,7 @@
#!/bin/bash
set -eo pipefail
###### Get Paths ##############################################################
og_path=$PWD
cd "$(dirname "$0")"
@@ -12,8 +14,6 @@ echo ~~~ Running Expression Intro ~~~
$build_path/expr_intro.exe $examps/expr/expr_intro.mdesk
echo
exit
# Setup a big list of files for a few of the examples
big_list=()
big_list+=("$examps/intro/hello_world.mdesk")
+2
View File
@@ -1,5 +1,7 @@
#!/bin/bash
set -eo pipefail
###### Get Paths ##############################################################
og_path=$PWD
cd "$(dirname "$0")"