mirror of
https://github.com/KranX/Vangers.git
synced 2025-11-30 23:15:27 +07:00
25 lines
912 B
YAML
25 lines
912 B
YAML
name: Vangers Linux Build
|
|
|
|
on: [push, pull_request]
|
|
|
|
jobs:
|
|
build:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v2
|
|
- name: update repos
|
|
run: sudo apt-get update
|
|
- name: install libs
|
|
run: sudo apt-get install cmake libsdl2-dev libsdl2-net-dev libogg-dev libvorbis-dev libavcodec-dev libavformat-dev libavutil-dev
|
|
- name: clunk download lib
|
|
run: git clone --depth 1 https://github.com/stalkerg/clunk.git clunk
|
|
working-directory: /tmp
|
|
- name: clunk build and install
|
|
run: cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_C_COMPILER=/usr/bin/gcc-9 -DCMAKE_CXX_COMPILER=/usr/bin/g++-9 . && make && sudo make install
|
|
working-directory: /tmp/clunk
|
|
- name: configure
|
|
run: mkdir build && cd build && cmake -DCMAKE_C_COMPILER=/usr/bin/gcc-9 -DCMAKE_CXX_COMPILER=/usr/bin/g++-9 ..
|
|
- name: make
|
|
run: make
|
|
working-directory: build
|