Skip to content

TMP

TMP #120

Workflow file for this run

name: Tests
on:
push:
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Go
uses: actions/setup-go@v5
- name: Build go
run: cd mshell && go build -o mshell
- name: Set Go PATH, MSHSTDLIB
run: |
realpath ./mshell >> "$GITHUB_PATH"
printf "MSHSTDLIB=%s\n" "$(realpath ./lib/std.msh)" >> "$GITHUB_ENV"
- name: Test mshell
run: cd tests && ./test.sh
- name: Run awk example tests
run: cd examples/awk && ./test.sh