mirror of
https://github.com/WinampDesktop/winamp.git
synced 2025-04-27 13:55:41 -04:00
Add automated Linux build script
Not providing downloads at this point, but at least I'll know when I break the build...
This commit is contained in:
parent
bf44f72169
commit
41404cad47
38
.github/workflows/linux-build.yml
vendored
Normal file
38
.github/workflows/linux-build.yml
vendored
Normal file
@ -0,0 +1,38 @@
|
|||||||
|
name: Linux Build
|
||||||
|
|
||||||
|
on:
|
||||||
|
pull_request:
|
||||||
|
push:
|
||||||
|
branches:
|
||||||
|
- master
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
build:
|
||||||
|
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v1
|
||||||
|
with:
|
||||||
|
submodules: true
|
||||||
|
|
||||||
|
- name: Install packages
|
||||||
|
shell: bash
|
||||||
|
run: sudo apt-get -y install libsdl2-dev libgtk2.0-dev
|
||||||
|
|
||||||
|
- name: Compile debug build
|
||||||
|
shell: bash
|
||||||
|
run: |
|
||||||
|
mkdir build-debug
|
||||||
|
cd build-debug
|
||||||
|
cmake -DCMAKE_BUILD_TYPE=Debug ..
|
||||||
|
make
|
||||||
|
|
||||||
|
- name: Compile release build
|
||||||
|
shell: bash
|
||||||
|
run: |
|
||||||
|
mkdir build-release
|
||||||
|
cd build-release
|
||||||
|
cmake -DCMAKE_BUILD_TYPE=Release ..
|
||||||
|
make
|
||||||
|
|
Loading…
x
Reference in New Issue
Block a user