Skip to content

Commit 8c99143

Browse files
Merge pull request #28 from RandomCoderOrg/no-matrix-build-option
No matrix build option
2 parents daff383 + e5fe10a commit 8c99143

File tree

5 files changed

+10
-4
lines changed

5 files changed

+10
-4
lines changed

fs-cook

Submodule fs-cook updated 125 files

gen_data/gen-suite-matrix.py

+6-3
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
import json
22
import glob
3+
import os
34

45
SUITES_DIR="./suites/*"
56

@@ -17,9 +18,11 @@ def generate_matrix_json() -> str:
1718
for variantPath in glob.iglob(f"{SUITES_DIR}/*", recursive=False):
1819
suiteName = variantPath.split('/')[2]
1920
variantName = variantPath.split('/')[3]
20-
21-
element = { }
22-
21+
22+
if os.path.exists(f"{variantPath}/.no-matrix-build"):
23+
continue
24+
25+
element = { }
2326
element['suite'] = suiteName
2427
element['variant'] = variantName
2528
element['architecture'] = arch

suites/focal/raw/.no-matrix-build

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
prevents this distro from building in github actions
+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
prevents this distro from building in github actions

suites/kinetic/raw/.no-matrix-build

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
prevents this distro from building in github actions

0 commit comments

Comments
 (0)