tentative spraytype for ubiquiti edge devices. #23
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: 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 |