-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into feature/update-clang
- Loading branch information
Showing
26 changed files
with
273 additions
and
155 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
9 changes: 4 additions & 5 deletions
9
.devcontainer/base/apt-requirements.json → .devcontainer/apt-requirements-base.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,14 @@ | ||
{ | ||
"bzip2": "1.0.8-5build1", | ||
"ca-certificates": "20230311ubuntu0.22.04.1", | ||
"gdb": "12.1-0ubuntu1~22.04", | ||
"g++-12": "12.3.0-1ubuntu1~22.04", | ||
"gdb-multiarch": "12.1-0ubuntu1~22.04", | ||
"git": "1:2.34.1-1ubuntu1.10", | ||
"gnupg2": "2.2.27-3ubuntu2.1", | ||
"libncurses5": "6.3-2ubuntu0.1", | ||
"libpython2.7": "2.7.18-13ubuntu1.1", | ||
"lsb-release": "11.1.0ubuntu4", | ||
"ninja-build": "1.10.1-1", | ||
"python3-pip": "22.0.2+dfsg-1ubuntu0.3", | ||
"unzip": "6.0-26ubuntu3.1", | ||
"wget": "1.21.2-2ubuntu1", | ||
"xsltproc": "1.1.34-4ubuntu0.22.04.1" | ||
"xsltproc": "1.1.34-4ubuntu0.22.04.1", | ||
"xz-utils": "5.2.5-2ubuntu1" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
{ | ||
"clang-15": "1:15.0.7-0ubuntu0.22.04.3", | ||
"clangd-15": "1:15.0.7-0ubuntu0.22.04.3", | ||
"clang-format-15": "1:15.0.7-0ubuntu0.22.04.3", | ||
"clang-tidy-15": "1:15.0.7-0ubuntu0.22.04.3", | ||
"clang-tools-15": "1:15.0.7-0ubuntu0.22.04.3", | ||
"lld-15": "1:15.0.7-0ubuntu0.22.04.3", | ||
"llvm-15": "1:15.0.7-0ubuntu0.22.04.3" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,38 +1,38 @@ | ||
--- | ||
name: Continuous Integration | ||
|
||
on: | ||
merge_group: | ||
pull_request: | ||
workflow_dispatch: | ||
|
||
concurrency: | ||
group: ${{ github.ref }}-${{ github.workflow }} | ||
cancel-in-progress: true | ||
|
||
permissions: | ||
contents: read | ||
|
||
jobs: | ||
build-test: | ||
runs-on: ubuntu-latest | ||
steps: | ||
# While the docker/build-push-action works from the Git context, we still need | ||
# the checkout step for running our tests. | ||
- uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 # v4.1.0 | ||
--- | ||
name: Continuous Integration | ||
|
||
on: | ||
merge_group: | ||
pull_request: | ||
workflow_dispatch: | ||
|
||
concurrency: | ||
group: ${{ github.ref }}-${{ github.workflow }} | ||
cancel-in-progress: true | ||
|
||
permissions: | ||
contents: read | ||
|
||
jobs: | ||
build-test: | ||
runs-on: ubuntu-latest | ||
steps: | ||
# While the docker/build-push-action works from the Git context, we still need | ||
# the checkout step for running our tests. | ||
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1 | ||
- uses: docker/setup-buildx-action@f95db51fddba0c2d1ec667646a06c2ce06100226 # v3.0.0 | ||
- uses: docker/build-push-action@0565240e2d4ab88bba5387d719585280857ece09 # v5.0.0 | ||
with: | ||
file: .devcontainer/Dockerfile | ||
load: true | ||
tags: ${{ github.repository }}:test | ||
cache-from: type=gha | ||
cache-to: type=gha,mode=max | ||
- name: Run Tests | ||
run: | | ||
set -Eeuo pipefail | ||
docker run --rm --mount type=bind,src="$(pwd)/test",dst=/ws -w /ws ${{ github.repository }}:test bats --formatter junit testsuite.bats | tee test-report.xml | ||
- uses: test-summary/action@62bc5c68de2a6a0d02039763b8c754569df99e3f # v2.1 | ||
with: | ||
paths: test-report.xml | ||
show: all | ||
with: | ||
file: .devcontainer/Dockerfile | ||
load: true | ||
tags: ${{ github.repository }}:test | ||
cache-from: type=gha | ||
cache-to: type=gha,mode=max | ||
- name: Run Tests | ||
run: | | ||
set -Eeuo pipefail | ||
docker run --rm --mount type=bind,src="$(pwd)/test",dst=/ws -w /ws ${{ github.repository }}:test bats --formatter junit testsuite.bats | tee test-report.xml | ||
- uses: test-summary/action@62bc5c68de2a6a0d02039763b8c754569df99e3f # v2.1 | ||
with: | ||
paths: test-report.xml | ||
show: all |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
name: Cleanup Pull-Request Image | ||
|
||
on: | ||
pull_request: | ||
types: [closed] | ||
|
||
permissions: | ||
contents: read | ||
|
||
env: | ||
REGISTRY: ghcr.io | ||
|
||
jobs: | ||
delete-images: | ||
runs-on: ubuntu-latest | ||
permissions: | ||
packages: write | ||
steps: | ||
- uses: sigstore/cosign-installer@11086d25041f77fe8fe7b9ea4e48e3b9192b8f19 # v3.1.2 | ||
- uses: docker/login-action@343f7c4344506bcbf9b4de18042ae17996df046d # v3.0.0 | ||
with: | ||
registry: ${{ env.REGISTRY }} | ||
username: ${{ github.actor }} | ||
password: ${{ secrets.GITHUB_TOKEN }} | ||
- run: cosign clean -f --type=signature "${{ env.REGISTRY }}/${{ github.repository }}:pr-${{ github.event.pull_request.number }}" | ||
- uses: bots-house/ghcr-delete-image-action@3827559c68cb4dcdf54d813ea9853be6d468d3a4 # v1.1.0 | ||
with: | ||
owner: ${{ github.repository_owner }} | ||
name: ${{ github.event.repository.name }} | ||
token: ${{ secrets.GITHUB_TOKEN }} | ||
tag: pr-${{ github.event.pull_request.number }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.