CI #16
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
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 |