mirror of
https://github.com/Tha14/toxic.git
synced 2024-11-22 20:43:02 +01:00
chore: Add github CI workflow.
This commit is contained in:
parent
701c0e1e94
commit
8e0e318df1
35
.github/workflows/ci.yml
vendored
Normal file
35
.github/workflows/ci.yml
vendored
Normal file
@ -0,0 +1,35 @@
|
|||||||
|
name: ci
|
||||||
|
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
branches: [master]
|
||||||
|
pull_request:
|
||||||
|
branches: [master]
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
latest:
|
||||||
|
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
|
||||||
|
libnotify-dev
|
||||||
|
libopenal-dev
|
||||||
|
libopus-dev
|
||||||
|
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 &&
|
||||||
|
make -C _build
|
||||||
|
sudo make -C _build install
|
||||||
|
|
||||||
|
- name: Build toxic
|
||||||
|
run: make
|
Loading…
Reference in New Issue
Block a user