summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordkf <donal.k.fellows@manchester.ac.uk>2020-11-10 09:26:10 (GMT)
committerdkf <donal.k.fellows@manchester.ac.uk>2020-11-10 09:26:10 (GMT)
commit20664f1fa1563c7ad9992f369427f1cd841faf6d (patch)
tree6a3f48b7997893fef84c1dee125f997d4bd986b4
parent33955d69338c3d268bfe9e51aad0c276cf8a1f0a (diff)
downloadtcl-20664f1fa1563c7ad9992f369427f1cd841faf6d.zip
tcl-20664f1fa1563c7ad9992f369427f1cd841faf6d.tar.gz
tcl-20664f1fa1563c7ad9992f369427f1cd841faf6d.tar.bz2
Cleaning up the actions and trying to make them behave more usefully on Windows.
-rw-r--r--.github/workflows/linux-build.yml11
-rw-r--r--.github/workflows/win-build.yml7
2 files changed, 8 insertions, 10 deletions
diff --git a/.github/workflows/linux-build.yml b/.github/workflows/linux-build.yml
index db46cfd..8bb0141 100644
--- a/.github/workflows/linux-build.yml
+++ b/.github/workflows/linux-build.yml
@@ -3,35 +3,32 @@ on: [push]
jobs:
build:
runs-on: ubuntu-latest
+ defaults:
+ run:
+ shell: bash
+ working-directory: unix
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
diff --git a/.github/workflows/win-build.yml b/.github/workflows/win-build.yml
index 652b34a..9c4b6f5 100644
--- a/.github/workflows/win-build.yml
+++ b/.github/workflows/win-build.yml
@@ -3,20 +3,21 @@ on: [push]
jobs:
build:
runs-on: windows-latest
+ defaults:
+ run:
+ shell: bash
+ working-directory: win
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Init MSVC
uses: ilammy/msvc-dev-cmd@v1
- name: Build
- working-directory: win
run: |
nmake -f makefile.vc all
- name: Build Test Harness
- working-directory: win
run: |
nmake -f makefile.vc tcltest
- name: Run Tests
- working-directory: win
run: |
nmake -f makefile.vc test