Skip to content

Commit

Permalink
Augment test.sh to test other xix programs
Browse files Browse the repository at this point in the history
This is possible now that we compile all xix
  • Loading branch information
aryx committed Apr 22, 2024
1 parent 25cfdba commit 127dcba
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 9 deletions.
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

0 comments on commit 127dcba

Please sign in to comment.