summaryrefslogtreecommitdiffstats
path: root/.github
diff options
context:
space:
mode:
authordkf <donal.k.fellows@manchester.ac.uk>2020-11-07 14:14:17 (GMT)
committerdkf <donal.k.fellows@manchester.ac.uk>2020-11-07 14:14:17 (GMT)
commitf827fd2a9d59990ad0ccf254d27113fd9881fcfe (patch)
tree4a9f4bf6ed757f7595b9d42786ab619ef1f96b8e /.github
parentd60bc321ce3c20557744e9e4ac1d5ae45f0d7ee3 (diff)
downloadtcl-f827fd2a9d59990ad0ccf254d27113fd9881fcfe.zip
tcl-f827fd2a9d59990ad0ccf254d27113fd9881fcfe.tar.gz
tcl-f827fd2a9d59990ad0ccf254d27113fd9881fcfe.tar.bz2
Added basic github action starter
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/tcl-build.yml37
1 files changed, 37 insertions, 0 deletions
diff --git a/.github/workflows/tcl-build.yml b/.github/workflows/tcl-build.yml
new file mode 100644
index 0000000..55cf359
--- /dev/null
+++ b/.github/workflows/tcl-build.yml
@@ -0,0 +1,37 @@
+name: Build and Test
+on: [push]
+jobs:
+ build:
+ runs-on: ubuntu-latest
+ steps:
+ - name: Checkout
+ uses: actions/checkout@v2
+ - name: Configure
+ working-directory: unix
+ run: |
+ mkdir "${HOME}/install dir"
+ ./configure ${CFGOPT} "--prefix=$HOME/install dir" || (cat config.log && exit 1)
+ - name: Build
+ working-directory: unix
+ run: |
+ make all
+ - name: Build Test Harness
+ working-directory: unix
+ run: |
+ make tcltest
+ - name: Run Tests
+ working-directory: unix
+ run: |
+ make test
+ - name: Test-Drive Installation
+ working-directory: unix
+ run: |
+ make install
+ - name: Create Distribution Package
+ working-directory: unix
+ run: |
+ make dist
+ - name: Convert Documentation to HTML
+ working-directory: unix
+ run: |
+ make html-tcl