Skip to content

Commit bc92c17

Browse files
committed
test new ci action
1 parent ba24064 commit bc92c17

File tree

2 files changed

+41
-1
lines changed

2 files changed

+41
-1
lines changed

.github/workflows/check-xgl-docker.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@ on:
55
branches:
66
- '*'
77
- '!master'
8-
pull_request:
98

109
jobs:
1110
build-and-test:

.github/workflows/psdb.yml

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
name: PSDB for XGL
2+
3+
on:
4+
pull_request:
5+
6+
jobs:
7+
build:
8+
name: build amdvlk
9+
runs-on: [self-hosted, build]
10+
steps:
11+
- name: Checkout and build AMDVLK driver
12+
run: |
13+
~/bin/repo init -u https://github.com/GPUOpen-Drivers/AMDVLK.git -b dev --depth=1
14+
~/bin/repo sync
15+
rm drivers/${GITHUB_REPOSITORY} -rf
16+
mkdir drivers/${GITHUB_REPOSITORY} && cd drivers/${GITHUB_REPOSITORY}
17+
git clone https://github.com/${GITHUB_REPOSITORY}.git .
18+
git fetch origin +${GITHUB_SHA}:${GITHUB_REF} --update-head-ok
19+
git checkout ${GITHUB_SHA}
20+
git submodule update -i --recursive
21+
cd -
22+
cmake -G Ninja -S drivers/xgl -B Release64
23+
cmake --build Release64
24+
echo "$GITHUB_RUN_ID-$GITHUB_RUN_NUMBER"
25+
echo "$TASK_ID"
26+
- name: Upload AMDVLK driver
27+
uses: actions/upload-artifact@v4
28+
with:
29+
name: driver
30+
path: Release64/icd/amdvlk64.so
31+
test:
32+
name: vkcts test with amdvlk
33+
runs-on: [self-hosted, navi48]
34+
needs: build
35+
steps:
36+
- name: download driver
37+
uses: actions/download-artifact@v4
38+
with:
39+
name: driver
40+
path: ./
41+

0 commit comments

Comments
 (0)