forked from meduketto/iksemel
-
Notifications
You must be signed in to change notification settings - Fork 2
43 lines (39 loc) · 1.13 KB
/
iksemel_openssl.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
name: iksemel with gnutls
on:
push:
pull_request:
jobs:
tests:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
ref: ${{ github.event.pull_request.head.sha }}
- name: Install build dependencies
run: |
sudo apt-get update
sudo apt-get install --yes -qq build-essential autoconf libtool git python3 python3-dev python3-setuptools gnutls-dev gnutls-bin
- name: Install meson via pip
run: |
sudo pip3 install meson
sudo pip3 install Ninja
- name: Basic meson build generation with gnutls support
run: |
meson build -D openssl=enabled -D gnutls=disabled
- name: Ninja source build
run: |
ninja -C build
- name: Ninja tests
run: |
ninja -C build test
- name: Prepare artifacts
if: failure()
run: |
cat /home/runner/work/iksemel/iksemel/build/meson-logs/meson-log.txt
- uses: actions/upload-artifact@v4
if: failure()
with:
name: Logs
path: |
/home/runner/work/iksemel/iksemel/build/meson-logs/meson-log.txt
if-no-files-found: ignore