xmppbot/.github/workflows/ubuntu.yml

25 lines
558 B
YAML
Raw Normal View History

2021-04-29 21:56:26 +02:00
name: Ubuntu
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
env:
BUILD_TYPE: Release
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
2021-04-29 22:06:02 +02:00
with:
submodules: recursive
2021-04-29 21:56:26 +02:00
- name: Install packages
run: sudo .ci/ubuntu_install.sh
- name: Configure CMake
2021-05-01 22:32:41 +02:00
run: cmake -B ${{github.workspace}}/build -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}} -DBUILD_SHARED=OFF -GNinja
2021-04-29 21:56:26 +02:00
- name: Build
run: cmake --build ${{github.workspace}}/build --config ${{env.BUILD_TYPE}}