Skip to content

Update README: Added basic instructions for running projects on unix … #70

Update README: Added basic instructions for running projects on unix …

Update README: Added basic instructions for running projects on unix … #70

Workflow file for this run

name: Crystal CI
on: [push]
jobs:
build:
runs-on: ubuntu-latest
container:
image: crystallang/crystal
steps:
- uses: actions/checkout@v2
- name: Install Gosu dependencies
run: |
apt-get update -y -qq
apt-get install -y build-essential libsdl2-dev libgl1-mesa-dev libgmp-dev libfontconfig1-dev cmake xvfb pulseaudio
- name: Install Gosu
run: |
echo $PWD
cd ..
git clone --depth=1 --single-branch --branch master https://github.com/gosu/gosu
cd gosu
mkdir -p build
cd build
cmake -D CMAKE_INSTALL_PREFIX:PATH=/usr ..
make
make install
- name: Install dependencies
run: shards install
- name: Run tests
run: |
xvfb-run crystal spec
crystal tool format --check