Skip to content

tentative spraytype for ubiquiti edge devices. #90

tentative spraytype for ubiquiti edge devices.

tentative spraytype for ubiquiti edge devices. #90

name: ArchLinuxBuild
on:
push:
branches: [ main ]
paths:
- 'src/**'
jobs:
build-arch:
runs-on: ubuntu-latest
container:
image: archlinux
steps:
- name: update docker
run: pacman -Syu --noconfirm
- name: install dependancies
run: pacman -S base-devel gcc make cmake openssl crystal shards --noconfirm
- uses: actions/checkout@v2
- name: Install shard dependencies
run: shards install
env:
SHARDS_OPTS: --ignore-crystal-version
- name: Build spraycannon
run: crystal build src/spraycannon.cr -p --release
- name: Build spdb
run: crystal build src/spdb.cr -p --release