Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
SuperFola committed Mar 17, 2024
1 parent add9fef commit 6aae41d
Showing 1 changed file with 17 additions and 1 deletion.
18 changes: 17 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ jobs:
config:
- {
os: ubuntu-latest, name: "Ubuntu Clang 15", cc: "clang-15", cxx: "clang++-15",
artifact: "ubuntu-clang-15", sanitizers: "On", preconfigure: ""
artifact: "ubuntu-clang-15", sanitizers: "Off", preconfigure: ""
}
- {
os: ubuntu-latest, name: "Ubuntu Clang 15 (valgrind)", cc: "clang-15", cxx: "clang++-15",
Expand Down Expand Up @@ -186,6 +186,22 @@ jobs:
- name: Setup tests
uses: ./.github/workflows/setup-tests

- name: wip
if: startsWith(matrix.config.name, 'Ubuntu Clang')
shell: bash
run: |
sudo apt-get install -yq gdb
echo "############ std lib ############"
gdb -ex r -ex bt -ex q --args build/arkscript lib/std/tests/all.ark --lib ./lib
echo "############ unit tests ############"
gdb -ex r -ex bt -ex q --args build/arkscript tests/arkscript/unittests.ark --lib ./lib
echo "############ runtime errors ############"
gdb -ex r -ex bt -ex q --args build/arkscript tests/errors/callable/not_enough_args.ark
gdb -ex r -ex bt -ex q --args build/arkscript tests/errors/macros/not_enough_args.ark
gdb -ex r -ex bt -ex q --args build/arkscript tests/errors/operators/out_of_range.ark
echo "############ cpp ############"
gdb -ex r -ex bt -ex q --args unittests
- name: C++ unit tests
shell: bash
run: |
Expand Down

0 comments on commit 6aae41d

Please sign in to comment.