Skip to content

Commit 4335e27

Browse files
authored
Created CI pipeline
Create main.yml
2 parents b4e690f + cd52b34 commit 4335e27

File tree

1 file changed

+41
-0
lines changed

1 file changed

+41
-0
lines changed

.github/workflows/main.yml

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
# This is a basic workflow to help you get started with Actions
2+
3+
name: Libva CI
4+
5+
# Controls when the action will run. Triggers the workflow on push or pull request
6+
# events but only for the master branch
7+
on:
8+
push:
9+
branches: [ master ]
10+
pull_request:
11+
branches: [ master ]
12+
13+
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
14+
jobs:
15+
# This workflow contains a single job called "build"
16+
build:
17+
# The type of runner that the job will run on
18+
runs-on: ubuntu-latest
19+
20+
# Steps represent a sequence of tasks that will be executed as part of the job
21+
steps:
22+
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
23+
- uses: actions/checkout@v2
24+
25+
- name: environment variables
26+
run: printenv
27+
# Runs a single command using the runners shell
28+
- name: prepare workspace
29+
run: |
30+
sudo apt-get install -y build-essential autoconf automake libtool m4 lcov \
31+
perl pkg-config libdrm-dev autoconf libegl1-mesa-dev libgl1-mesa-dev \
32+
libwayland-dev libx11-dev libxext-dev libxfixes-dev
33+
34+
# Runs a set of commands using the runners shell
35+
- name: build libva
36+
run: |
37+
./autogen.sh
38+
./configure --prefix=/usr
39+
make -j4
40+
sudo make install
41+
make check

0 commit comments

Comments
 (0)