Skip to content

Commit 1956fc2

Browse files
committed
Reformat yaml
1 parent 825cb57 commit 1956fc2

File tree

94 files changed

+12
-134
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

94 files changed

+12
-134
lines changed

.clang-format

-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
---
21
BasedOnStyle: LLVM
32
Cpp11BracedListStyle: false
43
AllowShortBlocksOnASingleLine: false

.github/actions/attach-package/action.yml

+12-12
Original file line numberDiff line numberDiff line change
@@ -7,15 +7,15 @@ inputs:
77
runs:
88
using: "composite"
99
steps:
10-
- name: Attach package to the tag
11-
if: contains(github.ref, 'refs/tags/')
12-
uses: svenstaro/upload-release-action@v2
13-
with:
14-
repo_token: ${{ inputs.GH_API_KEY }}
15-
file: /tmp/packages/*
16-
tag: ${{ github.ref }}
17-
overwrite: true
18-
file_glob: true
19-
# This step fails sometimes (with ECONNRESET), but I'm not willing to
20-
# debug it as the main source of packages is Cloudsmith
21-
continue-on-error: true
10+
- name: Attach package to the tag
11+
if: contains(github.ref, 'refs/tags/')
12+
uses: svenstaro/upload-release-action@v2
13+
with:
14+
repo_token: ${{ inputs.GH_API_KEY }}
15+
file: /tmp/packages/*
16+
tag: ${{ github.ref }}
17+
overwrite: true
18+
file_glob: true
19+
# This step fails sometimes (with ECONNRESET), but I'm not willing to
20+
# debug it as the main source of packages is Cloudsmith
21+
continue-on-error: true

.github/workflows/ci-macos.yml

-7
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,13 @@
11
name: macOS CI
2-
32
env:
43
CLOUDSMITH_API_KEY: ${{ secrets.CLOUDSMITH_API_KEY }}
54
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
6-
75
on:
86
push:
97
branches: ["main"]
108
tags: ["**"]
119
pull_request:
1210
branches: ["main"]
13-
1411
jobs:
1512
macos:
1613
name: LLVM ${{ matrix.LLVM_VERSION }}
@@ -39,7 +36,6 @@ jobs:
3936
submodules: true
4037
- uses: ./.github/actions/detect-package-metadata
4138
id: metadata
42-
4339
- name: Run CI task
4440
run: |
4541
brew install zlib ncurses sqlite ninja llvm@${{ matrix.LLVM_VERSION }}
@@ -51,7 +47,6 @@ jobs:
5147
./tests/end2end/setup_end2end_tests.sh
5248
./tests/end2end/run_end2end_tests.sh macos ${{ matrix.LLVM_VERSION }}
5349
mull-runner-${{ matrix.LLVM_VERSION }} --version
54-
5550
- name: Publish package
5651
if: env.CLOUDSMITH_API_KEY != null
5752
run: |
@@ -61,12 +56,10 @@ jobs:
6156
mull-project/mull-${{ steps.metadata.outputs.channel }} \
6257
--tags macos \
6358
build.${{ matrix.OS_NAME }}.${{ matrix.LLVM_VERSION }}.dir/*.zip
64-
6559
- name: Move package
6660
run: |
6761
mkdir -p /tmp/packages
6862
mv build.${{ matrix.OS_NAME }}.${{ matrix.LLVM_VERSION }}.dir/*.zip /tmp/packages/
69-
7063
- uses: ./.github/actions/attach-package
7164
with:
7265
GH_API_KEY: ${{ secrets.GITHUB_TOKEN }}

.github/workflows/ci-ubuntu.yml

-6
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,13 @@
11
name: Ubuntu CI
2-
32
env:
43
CLOUDSMITH_API_KEY: ${{ secrets.CLOUDSMITH_API_KEY }}
54
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
6-
75
on:
86
push:
97
branches: ["main"]
108
tags: ["**"]
119
pull_request:
1210
branches: ["main"]
13-
1411
jobs:
1512
build-and-test:
1613
runs-on: ubuntu-latest
@@ -65,7 +62,6 @@ jobs:
6562
cmake --workflow --preset package
6663
./tests/end2end/run_end2end_tests.sh ${{ matrix.OS_NAME }} ${{ matrix.LLVM_VERSION }}
6764
mull-runner-${{ matrix.LLVM_VERSION }} --version
68-
6965
- name: Publish package
7066
uses: devcontainers/[email protected]
7167
if: env.CLOUDSMITH_API_KEY != null
@@ -78,12 +74,10 @@ jobs:
7874
env CLOUDSMITH_API_KEY=${{ secrets.CLOUDSMITH_API_KEY }} cloudsmith push deb \
7975
mull-project/mull-${{ steps.metadata.outputs.channel }}/${{ matrix.OS_NAME }}/${UBUNTU_CODENAME} \
8076
build.${{ matrix.OS_NAME }}.${{ matrix.LLVM_VERSION }}.dir/*.deb
81-
8277
- name: Move package
8378
run: |
8479
mkdir -p /tmp/packages
8580
sudo mv build.${{ matrix.OS_NAME }}.${{ matrix.LLVM_VERSION }}.dir/*.deb /tmp/packages/
86-
8781
- uses: ./.github/actions/attach-package
8882
with:
8983
GH_API_KEY: ${{ secrets.GITHUB_TOKEN }}

.github/workflows/mull-20.04.yml

-6
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,13 @@
11
name: Mull (20.04)
2-
32
on:
43
pull_request:
54
push:
65
branches: ["main"]
7-
86
jobs:
97
test:
108
name: Mutation testing
119
runs-on: ubuntu-latest
1210
container: ubuntu:20.04
13-
1411
steps:
1512
- name: Install software
1613
run: |
@@ -19,11 +16,9 @@ jobs:
1916
apt-get install -y git curl cmake ninja-build libz-dev libsqlite3-dev ncurses-dev liblzma-dev
2017
curl -1sLf 'https://dl.cloudsmith.io/public/mull-project/mull-stable/setup.deb.sh' | bash
2118
apt-get install -y clang-12 libclang-12-dev mull-12=0.21.0
22-
2319
- uses: actions/checkout@v3
2420
with:
2521
submodules: true
26-
2722
- name: For debugging
2823
run: |
2924
env | sort
@@ -46,7 +41,6 @@ jobs:
4641
cd build.dir
4742
MULL_CONFIG=../mull-ci.yml ninja unit-tests
4843
./tests/unit/unit-tests
49-
5044
- name: Run Mull
5145
run: |
5246
cd build.dir

.readthedocs.yaml

-3
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33

44
# Required
55
version: 2
6-
76
# Set the OS, Python version and other tools you might need
87
build:
98
os: ubuntu-22.04
@@ -13,15 +12,13 @@ build:
1312
# nodejs: "20"
1413
# rust: "1.70"
1514
# golang: "1.20"
16-
1715
# Build documentation in the "docs/" directory with Sphinx
1816
sphinx:
1917
configuration: docs/conf.py
2018
# You can configure Sphinx to use a different builder, for instance use the dirhtml builder for simpler URLs
2119
# builder: "dirhtml"
2220
# Fail on all warnings to avoid broken references
2321
# fail_on_warning: true
24-
2522
# Optionally build your docs in additional formats such as PDF and ePub
2623
# formats:
2724
# - pdf

infrastructure/templates/github-actions/ci-macos.yml.mustache

-7
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,13 @@
11
{{=[[ ]]=}}name: macOS CI
2-
32
env:
43
CLOUDSMITH_API_KEY: ${{ secrets.CLOUDSMITH_API_KEY }}
54
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
6-
75
on:
86
push:
97
branches: ["main"]
108
tags: ["**"]
119
pull_request:
1210
branches: ["main"]
13-
1411
jobs:
1512
macos:
1613
name: LLVM ${{ matrix.LLVM_VERSION }}
@@ -31,7 +28,6 @@ jobs:
3128
submodules: true
3229
- uses: ./.github/actions/detect-package-metadata
3330
id: metadata
34-
3531
- name: Run CI task
3632
run: |
3733
brew install zlib ncurses sqlite ninja llvm@${{ matrix.LLVM_VERSION }}
@@ -43,7 +39,6 @@ jobs:
4339
./tests/end2end/setup_end2end_tests.sh
4440
./tests/end2end/run_end2end_tests.sh macos ${{ matrix.LLVM_VERSION }}
4541
mull-runner-${{ matrix.LLVM_VERSION }} --version
46-
4742
- name: Publish package
4843
if: env.CLOUDSMITH_API_KEY != null
4944
run: |
@@ -53,12 +48,10 @@ jobs:
5348
mull-project/mull-${{ steps.metadata.outputs.channel }} \
5449
--tags macos \
5550
build.${{ matrix.OS_NAME }}.${{ matrix.LLVM_VERSION }}.dir/*.zip
56-
5751
- name: Move package
5852
run: |
5953
mkdir -p /tmp/packages
6054
mv build.${{ matrix.OS_NAME }}.${{ matrix.LLVM_VERSION }}.dir/*.zip /tmp/packages/
61-
6255
- uses: ./.github/actions/attach-package
6356
with:
6457
GH_API_KEY: ${{ secrets.GITHUB_TOKEN }}

infrastructure/templates/github-actions/ci-ubuntu.yml.mustache

-6
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,13 @@
11
{{=[[ ]]=}}name: [[ OS_NAME ]] CI
2-
32
env:
43
CLOUDSMITH_API_KEY: ${{ secrets.CLOUDSMITH_API_KEY }}
54
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
6-
75
on:
86
push:
97
branches: ["main"]
108
tags: ["**"]
119
pull_request:
1210
branches: ["main"]
13-
1411
jobs:
1512
build-and-test:
1613
runs-on: ubuntu-latest
@@ -43,7 +40,6 @@ jobs:
4340
cmake --workflow --preset package
4441
./tests/end2end/run_end2end_tests.sh ${{ matrix.OS_NAME }} ${{ matrix.LLVM_VERSION }}
4542
mull-runner-${{ matrix.LLVM_VERSION }} --version
46-
4743
- name: Publish package
4844
uses: devcontainers/[email protected]
4945
if: env.CLOUDSMITH_API_KEY != null
@@ -56,12 +52,10 @@ jobs:
5652
env CLOUDSMITH_API_KEY=${{ secrets.CLOUDSMITH_API_KEY }} cloudsmith push deb \
5753
mull-project/mull-${{ steps.metadata.outputs.channel }}/${{ matrix.OS_NAME }}/${UBUNTU_CODENAME} \
5854
build.${{ matrix.OS_NAME }}.${{ matrix.LLVM_VERSION }}.dir/*.deb
59-
6055
- name: Move package
6156
run: |
6257
mkdir -p /tmp/packages
6358
sudo mv build.${{ matrix.OS_NAME }}.${{ matrix.LLVM_VERSION }}.dir/*.deb /tmp/packages/
64-
6559
- uses: ./.github/actions/attach-package
6660
with:
6761
GH_API_KEY: ${{ secrets.GITHUB_TOKEN }}
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
mutators:
22
- cxx_minus_to_noop
33
debugEnabled: true
4-
54
quiet: false
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
11
mutators:
22
- cxx_add_to_sub
3-
43
quiet: false
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
11
mutators:
22
- cxx_add_to_sub
3-
43
quiet: false
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
11
mutators:
22
- cxx_init_const
3-
43
quiet: false
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
11
mutators:
22
- cxx_remove_negation
3-
43
quiet: false
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
11
mutators:
22
- cxx_add_to_sub
3-
43
quiet: false
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
11
mutators:
22
- cxx_remove_void_call
3-
43
quiet: false
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
11
mutators:
22
- cxx_add_to_sub
3-
43
quiet: false
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
11
mutators:
22
- cxx_add_to_sub
3-
43
quiet: false
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
11
mutators:
22
- cxx_add_assign_to_sub_assign
3-
43
quiet: false
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
11
mutators:
22
- cxx_add_to_sub
3-
43
quiet: false
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
11
mutators:
22
- cxx_and_assign_to_or_assign
3-
43
quiet: false
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
11
mutators:
22
- cxx_and_to_or
3-
43
quiet: false
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
11
mutators:
22
- cxx_assign_const
3-
43
quiet: false
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
11
mutators:
22
- cxx_assign_const
3-
43
quiet: false
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
11
mutators:
22
- cxx_assign_const
3-
43
quiet: false
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
11
mutators:
22
- cxx_bitwise_not_to_noop
3-
43
quiet: false
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
11
mutators:
22
- cxx_div_assign_to_mul_assign
3-
43
quiet: false
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
11
mutators:
22
- cxx_div_to_mul
3-
43
quiet: false
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
11
mutators:
22
- cxx_ne_to_eq
3-
43
quiet: false
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
11
mutators:
22
- cxx_ge_to_gt
3-
43
quiet: false
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
11
mutators:
22
- cxx_ge_to_lt
3-
43
quiet: false
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
11
mutators:
22
- cxx_gt_to_ge
3-
43
quiet: false
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
11
mutators:
22
- cxx_gt_to_le
3-
43
quiet: false
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
11
mutators:
22
- cxx_init_const
3-
43
quiet: false
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
11
mutators:
22
- cxx_init_const
3-
43
quiet: false
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
11
mutators:
22
- cxx_init_const
3-
43
quiet: false

0 commit comments

Comments
 (0)