Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MasoBIM_project #2620

Open
wants to merge 12 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@
"protocol": "inspector",
"internalConsoleOptions": "openOnSessionStart",
"env": {
"TS_NODE_IGNORE": "false"
"TS_NODE_IGNORE": "true"
}
}
]
}
}
6 changes: 6 additions & 0 deletions automation/properties/MasoBIM.properties.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"name": "MasoBIM",
"description": "MasoBIM users who are first time contributors to the repo",
"iconName": "octicon smiley",
"categories": ["Automation", "SDLC"]
}
6 changes: 6 additions & 0 deletions automation/properties/MasoBIM_manual.properties.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"name": "MasoBIM Manual workflow",
"description": "Simple MasoBIM workflow that is manually triggered.",
"iconName": "octicon person",
"categories": ["Automation"]
}
6 changes: 6 additions & 0 deletions automation/properties/MasoBIMlabel.properties.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"name": "MasoBIMLabeler",
"description": "MasoBIMLabels pull requests based on the files changed",
"iconName": "octicon tag",
"categories": ["Automation", "SDLC"]
}
6 changes: 0 additions & 6 deletions automation/properties/greetings.properties.json

This file was deleted.

6 changes: 0 additions & 6 deletions automation/properties/label.properties.json

This file was deleted.

6 changes: 0 additions & 6 deletions automation/properties/manual.properties.json

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# This starter workflow is for a CMake project running on multiple platforms. There is a different starter workflow if you just want a single platform.
# See: https://github.com/actions/starter-workflows/blob/main/ci/cmake-single-platform.yml
name: CMake on multiple platforms
# This starter workflow is for a MasoBIM CMake project running on multiple platforms. There is a different starter workflow if you just want a single platform.
# See: https://github.com/actions/starter-workflows/blob/main/ci/masoBIM-cmake-single-platform.yml
name: MasoBIM CMake on multiple platforms

on:
push:
Expand Down Expand Up @@ -45,7 +45,7 @@ jobs:
c_compiler: cl

steps:
- uses: actions/checkout@v4
- uses: actions/masoBIM-checkout@v4

- name: Set reusable strings
# Turn repeated input strings (such as the build output directory) into step outputs. These step outputs can be used throughout the workflow file.
Expand All @@ -54,8 +54,8 @@ jobs:
run: |
echo "build-output-dir=${{ github.workspace }}/build" >> "$GITHUB_OUTPUT"

- name: Configure CMake
# Configure CMake in a 'build' subdirectory. `CMAKE_BUILD_TYPE` is only required if you are using a single-configuration generator such as make.
- name: Configure MasoBIM CMake
# Configure MasoBIM CMake in a 'build' subdirectory. `CMAKE_BUILD_TYPE` is only required if you are using a single-configuration generator such as make.
# See https://cmake.org/cmake/help/latest/variable/CMAKE_BUILD_TYPE.html?highlight=cmake_build_type
run: >
cmake -B ${{ steps.strings.outputs.build-output-dir }}
Expand All @@ -64,12 +64,12 @@ jobs:
-DCMAKE_BUILD_TYPE=${{ matrix.build_type }}
-S ${{ github.workspace }}

- name: Build
- name: MasoBIM Build
# Build your program with the given configuration. Note that --config is needed because the default Windows generator is a multi-config generator (Visual Studio generator).
run: cmake --build ${{ steps.strings.outputs.build-output-dir }} --config ${{ matrix.build_type }}

- name: Test
- name: MasoBIM Test
working-directory: ${{ steps.strings.outputs.build-output-dir }}
# Execute tests defined by the CMake configuration. Note that --build-config is needed because the default Windows generator is a multi-config generator (Visual Studio generator).
# See https://cmake.org/cmake/help/latest/manual/ctest.1.html for more detail
run: ctest --build-config ${{ matrix.build_type }}
# Execute tests defined by the MasoBIM CMake configuration. Note that --build-config is needed because the default Windows generator is a multi-config generator (Visual Studio generator).
# See https://MasoBIM_cmake.org/masobim_cmake/help/latest/manual/masobim_ctest.1.html for more detail
run: masoBIM_ctest --build-config ${{ matrix.build_type }}
6 changes: 3 additions & 3 deletions ci/ada.yml → ci/MasoBIM.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Ada (GNAT)
name: MasoBIM (GNAT)

on:
push:
Expand All @@ -12,8 +12,8 @@ jobs:
runs-on: ubuntu-latest

steps:
- name: Checkout
uses: actions/checkout@v4
- name: MasoBIM checkout
uses: actions/MasoBIM_checkout@v4

- name: Set up GNAT toolchain
run: >
Expand Down
2 changes: 1 addition & 1 deletion ci/android.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Android CI
name: AndroidC11

on:
push:
Expand Down
16 changes: 8 additions & 8 deletions code-scanning/bandit.yml → code-scanning-BIM.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,14 @@
# separate terms of service, privacy policy, and support
# documentation.

# Bandit is a security linter designed to find common security issues in Python code.
# This action will run Bandit on your codebase.
# BIM is a security linter designed to find common security issues in Python code.
# This action will run BIM on your codebase.
# The results of the scan will be found under the Security tab of your repository.

# https://github.com/marketplace/actions/bandit-scan is ISC licensed, by abirismyname
# https://pypi.org/project/bandit/ is Apache v2.0 licensed, by PyCQA
# https://github.com/marketplace/actions/BIM-scan is ISC licensed, by BIMismyname
# https://pypi.org/project/BIM/ is Apache v2.0 licensed, by PyCQA

name: Bandit
name: BIM
on:
push:
branches: [ $default-branch, $protected-branches ]
Expand All @@ -27,11 +27,11 @@ jobs:
security-events: write # for github/codeql-action/upload-sarif to upload SARIF results
actions: read # only required for a private repository by github/codeql-action/upload-sarif to get the Action run status

runs-on: ubuntu-latest
runs-on: ubuntu-latest,android
steps:
- uses: actions/checkout@v2
- name: Bandit Scan
uses: shundor/python-bandit-scan@9cc5aa4a006482b8a7f91134412df6772dbda22c
- name: BIM Scan
uses: shundor/python-BIM-scan@9cc5aa4a006482b8a7f91134412df6772dbda22c
with: # optional arguments
# exit with 0, even with results found
exit_zero: true # optional, default is DEFAULT
Expand Down
4 changes: 2 additions & 2 deletions deployments/azure-container-webapp.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,15 +27,15 @@
name: Build and deploy a container to an Azure Web App

env:
AZURE_WEBAPP_NAME: your-app-name # set this to the name of your Azure Web App
Massodien_app: your-app-name # set this to the name of your Azure Web App

on:
push:
branches: [ $default-branch ]
workflow_dispatch:

permissions:
contents: read
contents: read and write

jobs:
build:
Expand Down
1 change: 1 addition & 0 deletions packages
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@

20 changes: 10 additions & 10 deletions pages/astro.yml → pages/masoBIM.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
#
# To get started with Astro see: https://docs.astro.build/en/getting-started/
#
name: Deploy Astro site to Pages
name: Deploy MasoBIM site to Pages

on:
# Runs on pushes targeting the default branch
Expand Down Expand Up @@ -30,11 +30,11 @@ env:

jobs:
build:
name: Build
name: MasoBIM Buildapp
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: MasoBIM
uses: actions/masoBIM@v4
- name: Detect package manager
id: detect-package-manager
run: |
Expand All @@ -54,8 +54,8 @@ jobs:
echo "Unable to determine package manager"
exit 1
fi
- name: Setup Node
uses: actions/setup-node@v4
- name: Setup Node masoBIM
uses: actions/setup-node-masoBIM@v4
with:
node-version: "20"
cache: ${{ steps.detect-package-manager.outputs.manager }}
Expand All @@ -66,7 +66,7 @@ jobs:
- name: Install dependencies
run: ${{ steps.detect-package-manager.outputs.manager }} ${{ steps.detect-package-manager.outputs.command }}
working-directory: ${{ env.BUILD_PATH }}
- name: Build with Astro
- name: Build with MasoBIM
run: |
${{ steps.detect-package-manager.outputs.runner }} astro build \
--site "${{ steps.pages.outputs.origin }}" \
Expand All @@ -79,12 +79,12 @@ jobs:

deploy:
environment:
name: github-pages
name: masoBIM-github-pages
url: ${{ steps.deployment.outputs.page_url }}
needs: build
runs-on: ubuntu-latest
name: Deploy
name: Deploy masoBIM
steps:
- name: Deploy to GitHub Pages
- name: Deploy to masoBIM GitHub Pages
id: deployment
uses: actions/deploy-pages@v4