Skip to content

Commit

Permalink
Merge pull request #28 from RandomCoderOrg/no-matrix-build-option
Browse files Browse the repository at this point in the history
No matrix build option
  • Loading branch information
SaicharanKandukuri authored Apr 13, 2024
2 parents daff383 + e5fe10a commit 8c99143
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 4 deletions.
2 changes: 1 addition & 1 deletion fs-cook
Submodule fs-cook updated 125 files
9 changes: 6 additions & 3 deletions gen_data/gen-suite-matrix.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import json
import glob
import os

SUITES_DIR="./suites/*"

Expand All @@ -17,9 +18,11 @@ def generate_matrix_json() -> str:
for variantPath in glob.iglob(f"{SUITES_DIR}/*", recursive=False):
suiteName = variantPath.split('/')[2]
variantName = variantPath.split('/')[3]

element = { }


if os.path.exists(f"{variantPath}/.no-matrix-build"):
continue

element = { }
element['suite'] = suiteName
element['variant'] = variantName
element['architecture'] = arch
Expand Down
1 change: 1 addition & 0 deletions suites/focal/raw/.no-matrix-build
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
prevents this distro from building in github actions
1 change: 1 addition & 0 deletions suites/kinetic/gnomeRaw/.no-matrix-build
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
prevents this distro from building in github actions
1 change: 1 addition & 0 deletions suites/kinetic/raw/.no-matrix-build
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
prevents this distro from building in github actions

0 comments on commit 8c99143

Please sign in to comment.