CI: Remove setup steps (#218)

This commit is contained in:
Eiden Yoshida
2024-02-05 12:34:06 -07:00
committato da GitHub
parent fa3f21a7df
commit d4e3dac5e6
+1 -11
Vedi File
@@ -6,21 +6,11 @@ def runCompileCommand(platform, project, jobName, boolean debug=false, boolean s
String buildTypeArg = debug ? '-DCMAKE_BUILD_TYPE=Debug' : '-DCMAKE_BUILD_TYPE=Release'
String buildTypeDir = debug ? 'debug' : 'release'
String installDKMS = 'sudo apt -y install amdgpu-dkms'
if (platform.jenkinsLabel.contains('rhel')) {
installDKMS = 'sudo yum -y install amdgpu-dkms'
}
else if (platform.jenkinsLabel.contains('sles')) {
installDKMS = 'echo amdgpu-dkms not available'
}
def command = """#!/usr/bin/env bash
set -x
echo Build rocDecode - ${buildTypeDir}
cd ${project.paths.project_build_prefix}
${installDKMS}
python rocDecode-setup.py
mkdir -p build/${buildTypeDir} && cd build/${buildTypeDir}
cmake ${buildTypeArg} ../..
make -j\$(nproc)