Install pandoc in CI. #51
This file contains 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
on: | |
- push | |
jobs: | |
build-and-test: | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
os: [ubuntu-20.04, ubuntu-22.04] | |
racket-variant: ['BC', 'CS'] | |
racket-version: ['8.6', '8.8', '8.14'] | |
name: Test on Racket ${{ matrix.racket-variant }} ${{ matrix.racket-version }} on ${{ matrix.os }} | |
steps: | |
- name: Checkout | |
uses: actions/checkout@main | |
- name: Install nasm | |
run: sudo apt-get install nasm | |
- name: Install pandoc | |
run: | | |
curl -Ls https://github.com/jgm/pandoc/releases/download/2.11.2/pandoc-2.11.2-1-amd64.deb -o pandoc.deb | |
sudo dpkg -i pandoc.deb | |
- name: Install Racket | |
uses: Bogdanp/[email protected] | |
with: | |
architecture: 'x64' | |
distribution: 'full' | |
variant: ${{ matrix.racket-variant }} | |
version: ${{ matrix.racket-version }} | |
- name: Version info | |
run: | | |
nasm --version | |
gcc --version | |
- name: Install a86 package | |
run: | | |
pwd | |
raco pkg install ../a86/ | |
- name: Install langs package | |
run: | | |
# This *should* use the locally installed a86 | |
raco pkg install --auto 'https://github.com/cmsc430/langs.git?#main' | |
- name: Run tests | |
run: | | |
xvfb-run raco test -p a86 | |
xvfb-run raco test -p langs |