Skip to content

Commit 517affc

Browse files
authored
Add CI test for driver and linker build (#25)
* Add CI test for driver and linker build. Driver build disabled for now
1 parent af1b9dc commit 517affc

File tree

1 file changed

+47
-0
lines changed

1 file changed

+47
-0
lines changed

.github/workflows/ci-build-sw.yml

Lines changed: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,47 @@
1+
# ##################################################################################################
2+
# The MIT License (MIT)
3+
# Copyright (c) 2025 Advanced Micro Devices, Inc. All rights reserved.
4+
#
5+
# Permission is hereby granted, free of charge, to any person obtaining a copy of this software
6+
# and associated documentation files (the "Software"), to deal in the Software without restriction,
7+
# including without limitation the rights to use, copy, modify, merge, publish, distribute,
8+
# sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is
9+
# furnished to do so, subject to the following conditions:
10+
#
11+
# The above copyright notice and this permission notice shall be included in all copies or
12+
# substantial portions of the Software.
13+
#
14+
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT
15+
# NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
16+
# NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,
17+
# DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
18+
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
19+
# ##################################################################################################
20+
21+
name: CI Build SW
22+
23+
on:
24+
pull_request:
25+
26+
jobs:
27+
build:
28+
runs-on: ubuntu-22.04
29+
permissions: { contents: read }
30+
31+
steps:
32+
- name: Checkout code
33+
uses: actions/checkout@v4
34+
35+
- name: Install build tools
36+
run: |
37+
sudo apt-get update -qq
38+
sudo apt-get install -y build-essential linux-headers-$(uname -r) libxml2-dev libzmq3-dev libjsoncpp-dev
39+
40+
- name: Build hotplug driver
41+
if: ${{ false }}
42+
run: |
43+
cd ${{ github.workspace }}/submodules/pcie-hotplug-drv/ && make
44+
45+
- name: Build linker
46+
run: |
47+
cd ${{ github.workspace }}/submodules/v80-vitis-flow && cmake . && make

0 commit comments

Comments
 (0)