From d9f58806aacb6839884733560dfeab15759e0f4d Mon Sep 17 00:00:00 2001 From: "Joshua J. Cogliati" Date: Mon, 25 Mar 2024 20:17:56 -0600 Subject: [PATCH] Creating initial ci files. --- .github/workflows/build.yml | 19 +++++++++++++++++++ sera1/fullbuild | 5 ++++- 2 files changed, 23 insertions(+), 1 deletion(-) create mode 100644 .github/workflows/build.yml diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml new file mode 100644 index 0000000..ec332c3 --- /dev/null +++ b/.github/workflows/build.yml @@ -0,0 +1,19 @@ +name: build + +on: + push: + branches: [ "main" ] + pull_request: + branches: [ "main" ] + +jobs: + build: + + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v3 + - name: install + run: sudo apt-get install libmotif-dev libxpm-dev gfortran xutils-dev + - name: build + run: cd sera1 && ./fullbuild diff --git a/sera1/fullbuild b/sera1/fullbuild index 49f564f..ee71197 100755 --- a/sera1/fullbuild +++ b/sera1/fullbuild @@ -1,5 +1,8 @@ #!/bin/sh - +SERA_HOME=`dirname $0` +cd $SERA_HOME +export SERA_HOME=`pwd` +echo $SERA_HOME touch $SERA_HOME/config/Local.def imake -I./config make Makefile