Skip to content

CI

CI #16

Workflow file for this run

name: CI
on:
pull_request:
branches: [ master ]
push:
branches: [ master ]
# Run weekly to detect compiler or dependency regressions.
schedule:
- cron: "0 0 * * 0"
jobs:
test-on-nightly:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- run: sudo apt install wget libgmp-dev libsdl2-dev libsdl2-ttf-dev ocl-icd-libopencl1 ocl-icd-opencl-dev opencl-headers python3-setuptools
- name: Install Futhark
run: |
wget http://futhark-lang.org/releases/futhark-nightly-linux-x86_64.tar.xz
tar xf futhark-nightly-linux-x86_64.tar.xz
(cd futhark-nightly-linux-x86_64/ && PREFIX=$HOME/.local make install)
echo "$HOME/.local/bin" >> $GITHUB_PATH
- run: pip3 install -r requirements.txt
- run: make