consolidate CI files (#2)

main
Matthew Butterick 3 years ago
parent 7f5ca412f2
commit 51127fb120

@ -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

@ -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

@ -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

@ -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

@ -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

@ -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

Loading…
Cancel
Save