diff --git a/.github/workflows/fontland.yml b/.github/workflows/fontland.yml deleted file mode 100644 index 129be5f9..00000000 --- a/.github/workflows/fontland.yml +++ /dev/null @@ -1,42 +0,0 @@ -name: fontland CI - -on: [push, pull_request] - -defaults: - run: - working-directory: ./fontland - -jobs: - run: - name: "Build using Racket '${{ matrix.racket-version }}' (${{ matrix.racket-variant }})" - runs-on: ubuntu-latest - strategy: - fail-fast: false - matrix: - racket-version: ["7.1", "7.2", "7.3", "7.4", "7.5", "7.6", "7.7", "7.8", "7.9", "current"] - racket-variant: ["BC", "CS"] - # CS builds are only provided for versions 7.4 and up so avoid - # running the job for prior versions. - exclude: - - {racket-version: "7.1", racket-variant: "CS"} - - {racket-version: "7.2", racket-variant: "CS"} - - {racket-version: "7.3", racket-variant: "CS"} - - steps: - - name: Checkout - uses: actions/checkout@master - - - uses: Bogdanp/setup-racket@v0.11 - with: - distribution: 'full' - version: ${{ matrix.racket-version }} - variant: ${{ matrix.racket-variant }} - - - name: install xenomorph - run: raco pkg install --deps search-auto https://github.com/mbutterick/typesetting.git?path=xenomorph#main - - - name: Install package and its dependencies - run: raco pkg install --auto --batch - - - name: Run the tests - run: xvfb-run raco test -j 4 -p fontland diff --git a/.github/workflows/hyphenate.yml b/.github/workflows/hyphenate.yml deleted file mode 100644 index 4266d3b1..00000000 --- a/.github/workflows/hyphenate.yml +++ /dev/null @@ -1,47 +0,0 @@ -name: hyphenate CI - -on: [push, pull_request] - -defaults: - run: - working-directory: ./hyphenate - -jobs: - run: - name: "Build using Racket '${{ matrix.racket-version }}' (${{ matrix.racket-variant }})" - runs-on: ubuntu-latest - strategy: - fail-fast: false - matrix: - racket-version: ["6.6", "6.7", "6.8", "6.9", "6.10.1", "6.11", "6.12", "7.0", "7.1", "7.2", "7.3", "7.4", "7.5", "7.6", "7.7", "7.8", "7.9", "current"] - racket-variant: ["BC", "CS"] - # CS builds are only provided for versions 7.4 and up so avoid - # running the job for prior versions. - exclude: - - {racket-version: "6.6", racket-variant: "CS"} - - {racket-version: "6.7", racket-variant: "CS"} - - {racket-version: "6.8", racket-variant: "CS"} - - {racket-version: "6.9", racket-variant: "CS"} - - {racket-version: "6.10.1", racket-variant: "CS"} - - {racket-version: "6.11", racket-variant: "CS"} - - {racket-version: "6.12", racket-variant: "CS"} - - {racket-version: "7.0", racket-variant: "CS"} - - {racket-version: "7.1", racket-variant: "CS"} - - {racket-version: "7.2", racket-variant: "CS"} - - {racket-version: "7.3", racket-variant: "CS"} - - steps: - - name: Checkout - uses: actions/checkout@master - - - uses: Bogdanp/setup-racket@v0.11 - with: - distribution: 'full' - version: ${{ matrix.racket-version }} - variant: ${{ matrix.racket-variant }} - - - name: Install hyphenate and its dependencies - run: raco pkg install --auto --batch - - - name: Run the tests - run: xvfb-run raco test -j 4 -p hyphenate diff --git a/.github/workflows/pitfall.yml b/.github/workflows/pitfall.yml deleted file mode 100644 index 0882da81..00000000 --- a/.github/workflows/pitfall.yml +++ /dev/null @@ -1,48 +0,0 @@ -name: pitfall CI - -on: [push, pull_request] - -defaults: - run: - working-directory: ./pitfall - -jobs: - run: - name: "Build using Racket '${{ matrix.racket-version }}' (${{ matrix.racket-variant }})" - runs-on: ubuntu-latest - strategy: - fail-fast: false - matrix: - racket-version: ["7.1", "7.2", "7.3", "7.4", "7.5", "7.6", "7.7", "7.8", "7.9", "current"] - racket-variant: ["BC", "CS"] - # CS builds are only provided for versions 7.4 and up so avoid - # running the job for prior versions. - exclude: - - {racket-version: "7.1", racket-variant: "CS"} - - {racket-version: "7.2", racket-variant: "CS"} - - {racket-version: "7.3", racket-variant: "CS"} - - steps: - - name: Checkout - uses: actions/checkout@master - - - uses: Bogdanp/setup-racket@v0.11 - with: - distribution: 'full' - version: ${{ matrix.racket-version }} - variant: ${{ matrix.racket-variant }} - - - name: install xenomorph - run: raco pkg install --deps search-auto https://github.com/mbutterick/typesetting.git?path=xenomorph#main - - - name: install fontland - run: raco pkg install --deps search-auto https://github.com/mbutterick/typesetting.git?path=fontland#main - - - name: Install package and its dependencies - run: raco pkg install --auto --batch - - - name: Run the tests - run: xvfb-run raco test -j 4 -p pitfall - - - name: Run the ptests - run: xvfb-run racket -l ptest/all diff --git a/.github/workflows/quad.yml b/.github/workflows/typesetting.yml similarity index 69% rename from .github/workflows/quad.yml rename to .github/workflows/typesetting.yml index 437e32a9..6842cb21 100644 --- a/.github/workflows/quad.yml +++ b/.github/workflows/typesetting.yml @@ -1,11 +1,7 @@ -name: quad CI +name: typesetting CI on: [push, pull_request] -defaults: - run: - working-directory: ./quad - jobs: run: name: "Build using Racket '${{ matrix.racket-version }}' (${{ matrix.racket-variant }})" @@ -44,14 +40,26 @@ jobs: - name: install pitfall run: raco pkg install --deps search-auto https://github.com/mbutterick/typesetting.git?path=pitfall#main - - name: Install package and its dependencies - run: raco pkg install --auto --batch + - name: install quad + run: raco pkg install --deps search-auto https://github.com/mbutterick/typesetting.git?path=quad#main + + - name: Run hyphenate tests + run: xvfb-run raco test -j 4 -p hyphenate + + - name: Run xenomorph tests + run: xvfb-run raco test -j 4 -p xenomorph - - name: Start virtual framebuffer - run: Xvfb "$DISPLAY" -screen 0 1280x1024x24 & + - name: Run fontland tests + run: xvfb-run raco test -j 4 -p fontland + + - name: Run pitfall ftests + run: xvfb-run raco test -j 4 -p pitfall + + - name: Run the ptests + run: xvfb-run raco test -l ptest/all - - name: Run the tests - run: raco test -j 4 -p quad + - name: Run quad tests + run: xvfb-run raco test -j 4 -p quad - name: Run the qtests - run: racket -l qtest/all + run: xvfb-run raco test -l qtest/all diff --git a/.github/workflows/xenomorph.yml b/.github/workflows/xenomorph.yml deleted file mode 100644 index 6da2f2d5..00000000 --- a/.github/workflows/xenomorph.yml +++ /dev/null @@ -1,41 +0,0 @@ -name: xenomorph CI - -on: [push, pull_request] - -defaults: - run: - working-directory: ./xenomorph - -jobs: - run: - name: "Build using Racket '${{ matrix.racket-version }}' (${{ matrix.racket-variant }})" - runs-on: ubuntu-latest - strategy: - fail-fast: false - matrix: - racket-version: ["6.12", "7.0", "7.1", "7.2", "7.3", "7.4", "7.5", "7.6", "7.7", "7.8", "7.9", "current"] - racket-variant: ["BC", "CS"] - # CS builds are only provided for versions 7.4 and up so avoid - # running the job for prior versions. - exclude: - - {racket-version: "6.12", racket-variant: "CS"} - - {racket-version: "7.0", racket-variant: "CS"} - - {racket-version: "7.1", racket-variant: "CS"} - - {racket-version: "7.2", racket-variant: "CS"} - - {racket-version: "7.3", racket-variant: "CS"} - - steps: - - name: Checkout - uses: actions/checkout@master - - - uses: Bogdanp/setup-racket@v0.11 - with: - distribution: 'full' - version: ${{ matrix.racket-version }} - variant: ${{ matrix.racket-variant }} - - - name: Install package and its dependencies - run: raco pkg install --auto --batch - - - name: Run the tests - run: xvfb-run raco test -j 4 -p xenomorph diff --git a/README.md b/README.md index 53569483..d2bb481c 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,5 @@ ## typesetting -![Build Status](https://github.com/mbutterick/typesetting/workflows/xenomorph%20CI/badge.svg) ![Build Status](https://github.com/mbutterick/typesetting/workflows/fontland%20CI/badge.svg) ![Build Status](https://github.com/mbutterick/typesetting/workflows/hyphenate%20CI/badge.svg) ![Build Status](https://github.com/mbutterick/typesetting/workflows/pitfall%20CI/badge.svg) ![Build Status](https://github.com/mbutterick/typesetting/workflows/quad%20CI/badge.svg) +![Build Status](https://github.com/mbutterick/typesetting/workflows/typesetting%20CI/badge.svg) ### License: MIT with exceptions