Skip to content

tentative spraytype for ubiquiti edge devices. #23

tentative spraytype for ubiquiti edge devices.

tentative spraytype for ubiquiti edge devices. #23

name: StaticLinuxBuild
on:
push:
branches: [ main ]
paths:
- 'src/**'
jobs:
build-static:
runs-on: ubuntu-latest
container:
image: crystallang/crystal:latest-alpine
steps:
- uses: actions/checkout@v2
- name: install dependancies for alpine
run: apk update && apk add bash gcc make cmake git sqlite sqlite-static sqlite-dev build-base
- name: Install shard dependencies
run: shards install
env:
SHARDS_OPTS: --ignore-crystal-version
- name: Build Project
run: crystal build src/spraycannon.cr --release -p --static
- name: Bulid Project 2
run: crystal build src/spdb.cr --release -p --static