Build on Linux #173
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
# 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 |