We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0622f53 commit 9ecb172Copy full SHA for 9ecb172
.github/workflows/codeql.yml
@@ -67,9 +67,10 @@ jobs:
67
68
packages = [d for d in os.listdir() if d.strip().lower().endswith('pkg')]
69
70
- # Ensure the package can actually be built
71
- for package in packages:
72
- if not any(file.endswith('.dsc') for file in os.listdir(package)):
+ # Ensure the package can actually be built for IA32 or X64
+ for package in list(packages):
+ dsc = [os.path.join(package, f) for f in os.listdir(package) if f.endswith('.dsc')]
73
+ if not any('IA32' in l or 'X64' in l for d in dsc for l in open(d) if 'SUPPORTED_ARCHITECTURES' in l):
74
packages.remove(package)
75
76
packages.sort()
0 commit comments