1
0
mirror of https://github.com/Tha14/toxic.git synced 2024-07-03 15:37:45 +02:00
toxic/.github/workflows/ci.yml

41 lines
904 B
YAML
Raw Normal View History

2021-12-11 23:47:54 +01:00
name: ci
on:
push:
branches: [master]
pull_request:
branches: [master]
jobs:
build:
2021-12-11 23:47:54 +01:00
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Install libraries
run:
sudo apt-get update &&
sudo apt-get install -y --no-install-recommends
libalut-dev
libconfig-dev
libcurl4-gnutls-dev
2021-12-11 23:47:54 +01:00
libnotify-dev
libopenal-dev
libopus-dev
libqrencode-dev
2021-12-11 23:47:54 +01:00
libsodium-dev
libvpx-dev
python3-dev
pkg-config
- name: Install toxcore
run:
git clone --depth=1 https://github.com/TokTok/c-toxcore &&
cd c-toxcore &&
cmake . -B_build -DBOOTSTRAP_DAEMON=OFF &&
cd _build &&
make -j4 &&
sudo make install
2021-12-11 23:47:54 +01:00
- name: Build toxic
run: make -j4