forked from atar-axis/xpadneo
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathazure-pipelines.yml
41 lines (37 loc) · 1000 Bytes
/
azure-pipelines.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
# C/C++ with GCC
# Build your C/C++ project with GCC using make.
# Add steps that publish test results, save build artifacts, deploy, and more:
# https://docs.microsoft.com/azure/devops/pipelines/apps/c-cpp/gcc
trigger:
- master
strategy:
matrix:
Ubuntu 20.04 LTS:
imageName: 'ubuntu-20.04'
Ubuntu 22.04 LTS:
imageName: 'ubuntu-22.04'
Ubuntu 24.04 LTS:
imageName: 'ubuntu-24.04'
pool:
vmImage: $(imageName)
steps:
- script: |
sudo apt-get update
sudo apt-get install -y build-essential pkg-config linux-headers-`uname -r`
displayName: 'setup'
- script: |
sudo apt-get install -y dkms
sudo ./install.sh --verbose
displayName: 'install'
- script: |
sudo apt-get install -y dkms
sudo ./uninstall.sh --verbose
displayName: 'uninstall'
- script: |
sudo make install
sudo dkms autoinstall
displayName: 'autoinstall'
- script: |
sudo apt-get install -y libncurses-dev
make -C misc/examples/c_hidraw
displayName: 'misc'