-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
7 changed files
with
124 additions
and
22 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
FROM mcr.microsoft.com/devcontainers/cpp:1-ubuntu-22.04 | ||
|
||
USER vscode | ||
|
||
# Install latest cmake | ||
RUN wget -O - https://apt.kitware.com/keys/kitware-archive-latest.asc 2>/dev/null | gpg --dearmor - | sudo tee /usr/share/keyrings/kitware-archive-keyring.gpg >/dev/null | ||
RUN echo 'deb [signed-by=/usr/share/keyrings/kitware-archive-keyring.gpg] https://apt.kitware.com/ubuntu/ jammy main' | sudo tee /etc/apt/sources.list.d/kitware.list >/dev/null | ||
RUN sudo apt-get update && sudo apt-get install -y cmake | ||
|
||
# Install pre-commit | ||
RUN sudo apt-get install -y python3-pip && pip3 install pre-commit | ||
|
||
# Avoid ASAN Stalling | ||
# See: https://github.com/google/sanitizers/issues/1614 | ||
# Alternative is to update to above clang-18 and gcc-13.2 | ||
# Maybe crashing codespace??? | ||
RUN sudo sysctl -w vm.mmap_rnd_bits=28 |
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,18 @@ | ||
// For format details, see https://aka.ms/devcontainer.json. For config options, see the | ||
// README at: https://github.com/devcontainers/templates/tree/main/src/cpp | ||
|
||
{ | ||
"name": "Beman Project Generic Devcontainer", | ||
"build": { | ||
"dockerfile": "Dockerfile" | ||
}, | ||
"postCreateCommand": "bash .devcontainer/postcreate.sh", | ||
"customizations": { | ||
"vscode": { | ||
"extensions": [ | ||
"ms-vscode.cpptools", | ||
"ms-vscode.cmake-tools" | ||
] | ||
} | ||
} | ||
} |
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,3 @@ | ||
# Setup pre-commit | ||
pre-commit | ||
pre-commit install |
Validating CODEOWNERS rules …
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,4 +1,23 @@ | ||
# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception | ||
# Codeowners for reviews on PRs | ||
|
||
* @bretbrownjr @camio @dietmarkuehl @neatudarius @steve-downey | ||
# Note(river): | ||
# **Please understand how codeowner file work before uncommenting anything in this section:** | ||
# https://docs.github.com/en/repositories/managing-your-repositorys-settings-and-features/customizing-your-repository/about-code-owners | ||
# | ||
# For projects using exemplar as a template and intend to reuse its infrastructure, | ||
# River (@wusatosi) helped create most of the original infrastructure under the scope described below, | ||
# they are more than happy to help out with any PRs downstream, | ||
# as well as to sync any useful change upstream to exemplar. | ||
# | ||
# Github Actions: | ||
# .github/workflows/ @wusatosi # Add other project owners here | ||
# | ||
# Devcontainer: | ||
# .devcontainer/ @wusatosi # Add other project owners here | ||
# | ||
# Pre-commit: | ||
# .pre-commit-config.yaml @wusatosi # Add other project owners here | ||
# .markdownlint.yaml @wusatosi # Add other project owners here | ||
|
||
* @bretbrownjr @camio @dietmarkuehl @neatudarius @steve-downey @wusatosi |
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