Skip to content

Commit 047f1a6

Browse files
blouwernblouwern
authored andcommitted
Update regression test workflows generation script
1 parent 199dabb commit 047f1a6

7 files changed

Lines changed: 22 additions & 22 deletions

.github/workflows/regression-test-with-clang-simmace.yml renamed to .github/workflows/simmace-regression-test-with-clang.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
name: SimMACE regression test (AMD64 GNU/Linux Clang)
2-
# NOTE: This file is auto-generated
2+
# NOTE: This file is auto-generated by tooling/gen-regression-workflows.sh
33

44
on:
55
push:
66
branches:
77
- main
88
- rc
99
paths:
10-
- ".github/workflows/regression-test-with-clang-simmace.yml"
10+
- ".github/workflows/simmace-regression-test-with-clang.yml"
1111
- "src/**"
1212
- "test/**"
1313
- "MACE.c\\+\\+"
@@ -19,7 +19,7 @@ on:
1919
- main
2020
- rc
2121
paths:
22-
- ".github/workflows/regression-test-with-clang-simmace.yml"
22+
- ".github/workflows/simmace-regression-test-with-clang.yml"
2323
- "src/**"
2424
- "test/**"
2525
- "MACE.c\\+\\+"

.github/workflows/regression-test-with-gcc-simmace.yml renamed to .github/workflows/simmace-regression-test-with-gcc.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
name: SimMACE regression test (AMD64 GNU/Linux GCC)
2-
# NOTE: This file is auto-generated
2+
# NOTE: This file is auto-generated by tooling/gen-regression-workflows.sh
33

44
on:
55
push:
66
branches:
77
- main
88
- rc
99
paths:
10-
- ".github/workflows/regression-test-with-gcc-simmace.yml"
10+
- ".github/workflows/simmace-regression-test-with-gcc.yml"
1111
- "src/**"
1212
- "test/**"
1313
- "MACE.c\\+\\+"
@@ -19,7 +19,7 @@ on:
1919
- main
2020
- rc
2121
paths:
22-
- ".github/workflows/regression-test-with-gcc-simmace.yml"
22+
- ".github/workflows/simmace-regression-test-with-gcc.yml"
2323
- "src/**"
2424
- "test/**"
2525
- "MACE.c\\+\\+"

.github/workflows/regression-test-with-clang-simmms.yml renamed to .github/workflows/simmms-regression-test-with-clang.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
name: SimMMS regression test (AMD64 GNU/Linux Clang)
2-
# NOTE: This file is auto-generated
2+
# NOTE: This file is auto-generated by tooling/gen-regression-workflows.sh
33

44
on:
55
push:
66
branches:
77
- main
88
- rc
99
paths:
10-
- ".github/workflows/regression-test-with-clang-simmms.yml"
10+
- ".github/workflows/simmms-regression-test-with-clang.yml"
1111
- "src/**"
1212
- "test/**"
1313
- "MACE.c\\+\\+"
@@ -19,7 +19,7 @@ on:
1919
- main
2020
- rc
2121
paths:
22-
- ".github/workflows/regression-test-with-clang-simmms.yml"
22+
- ".github/workflows/simmms-regression-test-with-clang.yml"
2323
- "src/**"
2424
- "test/**"
2525
- "MACE.c\\+\\+"

.github/workflows/regression-test-with-gcc-simmms.yml renamed to .github/workflows/simmms-regression-test-with-gcc.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
name: SimMMS regression test (AMD64 GNU/Linux GCC)
2-
# NOTE: This file is auto-generated
2+
# NOTE: This file is auto-generated by tooling/gen-regression-workflows.sh
33

44
on:
55
push:
66
branches:
77
- main
88
- rc
99
paths:
10-
- ".github/workflows/regression-test-with-gcc-simmms.yml"
10+
- ".github/workflows/simmms-regression-test-with-gcc.yml"
1111
- "src/**"
1212
- "test/**"
1313
- "MACE.c\\+\\+"
@@ -19,7 +19,7 @@ on:
1919
- main
2020
- rc
2121
paths:
22-
- ".github/workflows/regression-test-with-gcc-simmms.yml"
22+
- ".github/workflows/simmms-regression-test-with-gcc.yml"
2323
- "src/**"
2424
- "test/**"
2525
- "MACE.c\\+\\+"

.github/workflows/regression-test-with-clang-simttc.yml renamed to .github/workflows/simttc-regression-test-with-clang.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
name: SimTTC regression test (AMD64 GNU/Linux Clang)
2-
# NOTE: This file is auto-generated
2+
# NOTE: This file is auto-generated by tooling/gen-regression-workflows.sh
33

44
on:
55
push:
66
branches:
77
- main
88
- rc
99
paths:
10-
- ".github/workflows/regression-test-with-clang-simttc.yml"
10+
- ".github/workflows/simttc-regression-test-with-clang.yml"
1111
- "src/**"
1212
- "test/**"
1313
- "MACE.c\\+\\+"
@@ -19,7 +19,7 @@ on:
1919
- main
2020
- rc
2121
paths:
22-
- ".github/workflows/regression-test-with-clang-simttc.yml"
22+
- ".github/workflows/simttc-regression-test-with-clang.yml"
2323
- "src/**"
2424
- "test/**"
2525
- "MACE.c\\+\\+"

.github/workflows/regression-test-with-gcc-simttc.yml renamed to .github/workflows/simttc-regression-test-with-gcc.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
name: SimTTC regression test (AMD64 GNU/Linux GCC)
2-
# NOTE: This file is auto-generated
2+
# NOTE: This file is auto-generated by tooling/gen-regression-workflows.sh
33

44
on:
55
push:
66
branches:
77
- main
88
- rc
99
paths:
10-
- ".github/workflows/regression-test-with-gcc-simttc.yml"
10+
- ".github/workflows/simttc-regression-test-with-gcc.yml"
1111
- "src/**"
1212
- "test/**"
1313
- "MACE.c\\+\\+"
@@ -19,7 +19,7 @@ on:
1919
- main
2020
- rc
2121
paths:
22-
- ".github/workflows/regression-test-with-gcc-simttc.yml"
22+
- ".github/workflows/simttc-regression-test-with-gcc.yml"
2323
- "src/**"
2424
- "test/**"
2525
- "MACE.c\\+\\+"

tooling/gen-regression-workflows.sh

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,14 +19,14 @@ mkdir -p -v "$workflow_dir"
1919

2020
module_lower="$(echo "$module_name" | tr '[:upper:]' '[:lower:]')"
2121

22-
out_gcc_rel=".github/workflows/regression-test-with-gcc-${module_lower}.yml"
23-
out_clang_rel=".github/workflows/regression-test-with-clang-${module_lower}.yml"
22+
out_gcc_rel=".github/workflows/${module_lower}-regression-test-with-gcc.yml"
23+
out_clang_rel=".github/workflows/${module_lower}-regression-test-with-clang.yml"
2424
out_gcc="${repo_root}/${out_gcc_rel}"
2525
out_clang="${repo_root}/${out_clang_rel}"
2626

2727
cat > "$out_gcc" <<EOF
2828
name: ${module_name} regression test (AMD64 GNU/Linux GCC)
29-
# NOTE: This file is auto-generated
29+
# NOTE: This file is auto-generated by tooling/gen-regression-workflows.sh
3030
3131
on:
3232
push:
@@ -105,7 +105,7 @@ EOF
105105

106106
cat > "$out_clang" <<EOF
107107
name: ${module_name} regression test (AMD64 GNU/Linux Clang)
108-
# NOTE: This file is auto-generated
108+
# NOTE: This file is auto-generated by tooling/gen-regression-workflows.sh
109109
110110
on:
111111
push:

0 commit comments

Comments
 (0)