-
Notifications
You must be signed in to change notification settings - Fork 0
38 lines (31 loc) · 855 Bytes
/
linux.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
# Copyright (c) 2023 Sebastian Pipping <[email protected]>
# Licensed under the GPL v3 or later
name: Build on Linux
on:
pull_request:
push:
schedule:
- cron: '0 2 * * 5' # Every Friday at 2am
jobs:
clang-format:
name: Build on Linux
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- name: Install build dependencies
run: |-
set -x
sudo apt-get update
sudo apt-get install --yes --no-install-recommends -V \
build-essential \
libpulse-dev \
libsdl2-dev \
portaudio19-dev
- name: Build
run: |-
make CFLAGS='-O2 -pipe' -j
- name: Install
run: |-
set -x -o pipefail
make install DESTDIR="${PWD}"/ROOT
find ROOT/ | xargs ls -ld