-
Notifications
You must be signed in to change notification settings - Fork 2
45 lines (33 loc) · 1.22 KB
/
KaliBuild.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
name: KaliLinuxBuild
on:
push:
branches: [ main ]
paths:
- 'src/**'
jobs:
build-kali:
runs-on: ubuntu-latest
container:
image: kalilinux/kali-rolling
steps:
- uses: actions/checkout@v2
- name: Install kali dependancies and build tools
run: apt update -y && apt upgrade -y && apt install gcc make cmake curl git sqlite3 libsqlite3-dev build-essential openssl zlib1g zlib1g-dev libssl-dev -y
# for some reason new kali has issues with the install.sh script and the git action too. run both and it seems to work though
- name: Install Crystal and Shards using public installer
run: curl -fsSL https://crystal-lang.org/install.sh | bash
- uses: crystal-lang/install-crystal@v1
with:
crystal: latest
- name: Install shard dependencies
run: shards install
env:
SHARDS_OPTS: --ignore-crystal-version
- 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: Bulid SPDB
run: crystal build src/spdb.cr -p --release