-
Notifications
You must be signed in to change notification settings - Fork 8
45 lines (39 loc) · 1 KB
/
Copy pathmain.yml
File metadata and controls
45 lines (39 loc) · 1 KB
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
43
44
45
on:
push:
branches:
- main
pull_request:
branches:
- main
permissions:
contents: read
name: main
jobs:
build_linux:
name: Build Linux
container:
image: ubuntu:20.04
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 #v6.0.3
with:
persist-credentials: false
- name: Install dependencies
run: |
set -e
export DEBIAN_FRONTEND=noninteractive
apt-get update && \
apt-get install -y autoconf gcc g++ git libtool locales make pkg-config
- name: Configure Libfpx
env:
CFLAGS: '-Wall -Wextra -Werror -Wno-error=deprecated-copy -Wno-error=class-memaccess'
CXXFLAGS: '-Wall -Wextra -Werror -Wno-error=deprecated-copy -Wno-error=class-memaccess'
run: |
autoreconf -fiv
./configure
- name: Build Libfpx
run: |
set -e
make
make check
make install