mirror of https://github.com/stenzek/duckstation
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
39 lines
712 B
Plaintext
39 lines
712 B
Plaintext
5 years ago
|
name: Linux Build
|
||
|
|
||
|
on:
|
||
|
pull_request:
|
||
|
push:
|
||
|
branches:
|
||
|
- master
|
||
|
|
||
|
jobs:
|
||
|
build:
|
||
|
|
||
|
runs-on: ubuntu-latest
|
||
|
|
||
|
steps:
|
||
|
- uses: actions/checkout@v1
|
||
|
|
||
|
- name: Install packages
|
||
|
shell: bash
|
||
5 years ago
|
run: |
|
||
|
sudo apt-get update
|
||
|
sudo apt-get -y install libsdl2-dev libgtk2.0-dev
|
||
5 years ago
|
|
||
|
- name: Compile debug build
|
||
|
shell: bash
|
||
|
run: |
|
||
|
mkdir build-debug
|
||
|
cd build-debug
|
||
5 years ago
|
cmake -DCMAKE_BUILD_TYPE=Debug -DBUILD_QT_FRONTEND=OFF ..
|
||
5 years ago
|
make
|
||
|
|
||
|
- name: Compile release build
|
||
|
shell: bash
|
||
|
run: |
|
||
|
mkdir build-release
|
||
|
cd build-release
|
||
5 years ago
|
cmake -DCMAKE_BUILD_TYPE=Release -DBUILD_QT_FRONTEND=OFF ..
|
||
5 years ago
|
make
|
||
|
|