Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Augment test.sh to test other xix programs #11

Merged
merged 1 commit into from
Apr 22, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions .github/workflows/build-and-test.jsonnet
Original file line number Diff line number Diff line change
Expand Up @@ -64,12 +64,6 @@ local job = {
./bootstrap-mk.sh
|||,
},
{
name: 'Basic test',
run: |||
./test.sh
|||,
},
{
name: 'Build all xix',
run: |||
Expand All @@ -80,6 +74,12 @@ local job = {
mk
|||,
},
{
name: 'Basic test',
run: |||
./test.sh
|||,
},
],
};

Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/build-and-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,16 +16,16 @@ jobs:
run: |
eval $(opam env)
./bootstrap-mk.sh
- name: Basic test
run: |
./test.sh
- name: Build all xix
run: |
eval $(opam env)
export MKSHELL=`which rc`
export PATH=`pwd`/bin:$PATH
mk depend
mk
- name: Basic test
run: |
./test.sh
strategy:
matrix:
ocaml-compiler:
Expand Down
7 changes: 7 additions & 0 deletions test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,10 @@ set -x
# or dynamic linking errors
./bin/mk --help
./bin/rc --help
./assembler/5a --help
./linker/5l --help
./compiler/5c --help
# TODO: add a --help, and exit 0 on --help, not 2
#./lex/ocamllex --help
#./yacc/ocamlyacc --help
#./version-control/ogit --help
Loading