-
-
Notifications
You must be signed in to change notification settings - Fork 118
37 lines (32 loc) · 1.04 KB
/
beepsky.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
# Beepsky, Goonstation's replacement for a CI service like Travis, utilizing GitHub Actions
# Based on Turdis by Yogstation
# Stripped down heavily for Burgerstation
name: Beepsky
on:
pull_request:
branches: master
push:
jobs:
compile:
name: Compile
runs-on: ubuntu-22.04
if: "!contains(github.event.head_commit.message, 'skip ci')"
steps:
- uses: actions/checkout@v3
- name: Cache BYOND
uses: actions/cache@v3
with:
path: $HOME/BYOND
key: ${{ runner.os }}-byond
- name: Setup BYOND
run: |
tools/ci/install_byond.sh
cd $GITHUB_WORKSPACE
printenv
echo "BYOND_SYSTEM=/home/runner/BYOND/byond" >> $GITHUB_ENV
echo "/home/runner/BYOND/byond/bin" >> $GITHUB_PATH
echo "LD_LIBRARY_PATH=/home/runner/BYOND/byond/bin:$LD_LIBRARY_PATH" >> $GITHUB_ENV
echo "MANPATH=/home/runner/BYOND/byond/man:$MANPATH" >> $GITHUB_ENV
- name: Compile
run: |
tools/ci/dm.sh -DCIBUILD burgerstation.dme