Skip to content

Commit

Permalink
run doctest in ci
Browse files Browse the repository at this point in the history
  • Loading branch information
Akuli committed Dec 7, 2023
1 parent efa880f commit 3d5f60e
Show file tree
Hide file tree
Showing 3 changed files with 28 additions and 0 deletions.
11 changes: 11 additions & 0 deletions .github/workflows/linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,17 @@ jobs:
exit 1
fi
doctest:
runs-on: ubuntu-latest
strategy:
matrix:
llvm-version: [11, 13]
steps:
- uses: actions/checkout@v3
- run: sudo apt install -y llvm-${{ matrix.llvm-version }}-dev clang-${{ matrix.llvm-version }} make
- run: LLVM_CONFIG=llvm-config-${{ matrix.llvm-version }} make
- run: ./doctest.sh

compare-compilers:
runs-on: ubuntu-latest
steps:
Expand Down
8 changes: 8 additions & 0 deletions .github/workflows/macos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,14 @@ jobs:
exit 1
fi
doctest:
runs-on: macos-latest
steps:
- uses: actions/checkout@v3
- run: brew install bash diffutils llvm@13
- run: make
- run: ./doctest.sh

compare-compilers:
runs-on: macos-latest
steps:
Expand Down
9 changes: 9 additions & 0 deletions .github/workflows/windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -157,6 +157,15 @@ jobs:
- run: cd "test dir" && source activate && ./runtests.sh --verbose
shell: bash

doctest:
runs-on: windows-latest
steps:
- uses: actions/checkout@v3
- run: ./windows_setup.sh --small
shell: bash
- run: source activate && ./doctest.sh
shell: bash

test-zip:
needs: build-zip
runs-on: windows-latest
Expand Down

0 comments on commit 3d5f60e

Please sign in to comment.