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