Repository navigation
Adapt to refactoring of nimib #103
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Tests | |
| on: | |
| pull_request: | |
| branches: | |
| - main | |
| jobs: | |
| tests: | |
| runs-on: ubuntu-latest | |
| strategy: | |
| matrix: | |
| nim: | |
| - 'stable' | |
| - 'devel' | |
| fail-fast: false | |
| name: Nim ${{ matrix.nim }} | |
| steps: | |
| - uses: actions/checkout@v2 | |
| - uses: jiro4989/setup-nim-action@v2.2.2 | |
| with: | |
| nim-version: ${{ matrix.nim }} | |
| repo-token: ${{ secrets.GITHUB_TOKEN }} | |
| - run: sudo apt install libpcre3 libpcre3-dev liblapack-dev | |
| - run: nimble install nimble -g | |
| - name: Pre-Install deps | |
| run: | | |
| set -e | |
| nimble install -y https://github.com/zetashift/fontim -g | |
| nimble install -y -g https://github.com/HugoGranstrom/cdt@0.1.1 | |
| - name: Install deps | |
| run: | | |
| set -e | |
| nimble sync -y | |
| nimble setup | |
| - name: Build compiler-docs | |
| run: nimble docs | |
| - name: Build slideshows | |
| run: nimble buildDocs | |
| - name: Build book | |
| run: nimble buildBook |