Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
￴￴ committed Oct 1, 2024
1 parent 7bb3dd7 commit 64ebed7
Show file tree
Hide file tree
Showing 47 changed files with 1,514 additions and 615 deletions.
3 changes: 3 additions & 0 deletions .github/FUNDING.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
github:
- 'azkadev'
- 'generalfoss'
49 changes: 49 additions & 0 deletions .github/workflows/general_workflow_deploy_docs_to_github_page.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
# Generate Automatic By GLOBAL CORPORATION / GENERAL CORPORATION
#
# DEVELOPER:
#
# https://github.com/azkadev

# Simple workflow for deploying static content to GitHub Pages
name: Deploy static content to Pages

on:
# Runs on pushes targeting the default branch
push:
branches: ["main"]

# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:

# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages
permissions:
contents: read
pages: write
id-token: write

# Allow only one concurrent deployment, skipping runs queued between the run in-progress and latest queued.
# However, do NOT cancel in-progress runs as we want to allow these production deployments to complete.
concurrency:
group: "pages"
cancel-in-progress: true

jobs:
# Single deploy job since we're just deploying
deploy:
environment:
name: github-pages
url: ${{steps.deployment.outputs.page_url}}
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Pages
uses: actions/configure-pages@v5
- name: Upload artifact
uses: actions/upload-pages-artifact@v3
with:
# Upload entire repository
path: 'docs'
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4
66 changes: 66 additions & 0 deletions .github/workflows/general_workflow_release_app_development.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,66 @@
name: app_release_type_development
on:
# push:
# # [push, workflow_dispatch]
# schedule: [{cron: "0 0 * * 0"}]
workflow_dispatch:
permissions:
contents: write
jobs:
build:
name: app_release_type_development
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v3
with:
submodules: true

- name: Print
run: |
ls
- name: Set up Java
uses: actions/setup-java@v3
with:
java-version: "17"
distribution: "adopt"
- name: Set up Flutter
uses: subosito/flutter-action@v2
with:
flutter-version: "3.22.3"
channel: "stable"
- name: check dart version
run: dart --version
- name: Install Dependencies
run: |
sudo apt update -y
sudo apt-get install -y make git zlib1g-dev libssl-dev gperf cmake clang libc++-dev libc++abi-dev php-cli cmake g++
sudo apt-get install -y clang cmake ninja-build pkg-config libgtk-3-dev liblzma-dev
# mpv
sudo apt-get install -y libmpv-dev mpv
shell: bash
- name: Mkdir result
run: mkdir result
- name: Set Flutter enable devices
continue-on-error: true
run: |
flutter config --enable-web
flutter config --enable-linux-desktop
flutter config --enable-macos-desktop
flutter config --enable-windows-desktop
flutter config --enable-android
flutter config --enable-ios
# General Bot App
- name: Pub General Machine System Services
run: |
cd general_machine_system_services/apps/global_app
flutter clean
flutter pub get
- name: Publish General Machine System Services Linux
env:
packagex_github_token: ${{ secrets.TOKEN_GITHUB }}
run: |
cd general_machine_system_services/apps/global_app
dart run packagex publish
66 changes: 66 additions & 0 deletions .github/workflows/general_workflow_release_app_production.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,66 @@
name: app_release_type_production
on:
# push:
# # [push, workflow_dispatch]
# schedule: [{cron: "0 0 * * 0"}]
workflow_dispatch:
permissions:
contents: write
jobs:
build:
name: app_release_type_production
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v3
with:
submodules: true

- name: Print
run: |
ls
- name: Set up Java
uses: actions/setup-java@v3
with:
java-version: "17"
distribution: "adopt"
- name: Set up Flutter
uses: subosito/flutter-action@v2
with:
flutter-version: "3.22.3"
channel: "stable"
- name: check dart version
run: dart --version
- name: Install Dependencies
run: |
sudo apt update -y
sudo apt-get install -y make git zlib1g-dev libssl-dev gperf cmake clang libc++-dev libc++abi-dev php-cli cmake g++
sudo apt-get install -y clang cmake ninja-build pkg-config libgtk-3-dev liblzma-dev
# mpv
sudo apt-get install -y libmpv-dev mpv
shell: bash
- name: Mkdir result
run: mkdir result
- name: Set Flutter enable devices
continue-on-error: true
run: |
flutter config --enable-web
flutter config --enable-linux-desktop
flutter config --enable-macos-desktop
flutter config --enable-windows-desktop
flutter config --enable-android
flutter config --enable-ios
# General Bot App
- name: Pub General Machine System Services
run: |
cd general_machine_system_services/apps/global_app
flutter clean
flutter pub get
- name: Publish General Machine System Services Linux
env:
packagex_github_token: ${{ secrets.TOKEN_GITHUB }}
run: |
cd general_machine_system_services/apps/global_app
dart run packagex publish
3 changes: 3 additions & 0 deletions general_documentation/.github/FUNDING.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
github:
- 'azkadev'
- 'generalfoss'
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
# Generate Automatic By GLOBAL CORPORATION / GENERAL CORPORATION
#
# DEVELOPER:
#
# https://github.com/azkadev

# Simple workflow for deploying static content to GitHub Pages
name: Deploy static content to Pages

on:
# Runs on pushes targeting the default branch
push:
branches: ["main"]

# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:

# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages
permissions:
contents: read
pages: write
id-token: write

# Allow only one concurrent deployment, skipping runs queued between the run in-progress and latest queued.
# However, do NOT cancel in-progress runs as we want to allow these production deployments to complete.
concurrency:
group: "pages"
cancel-in-progress: true

jobs:
# Single deploy job since we're just deploying
deploy:
environment:
name: github-pages
url: ${{steps.deployment.outputs.page_url}}
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Pages
uses: actions/configure-pages@v5
- name: Upload artifact
uses: actions/upload-pages-artifact@v3
with:
# Upload entire repository
path: 'docs'
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4
Original file line number Diff line number Diff line change
@@ -0,0 +1,66 @@
name: app_release_type_development
on:
# push:
# # [push, workflow_dispatch]
# schedule: [{cron: "0 0 * * 0"}]
workflow_dispatch:
permissions:
contents: write
jobs:
build:
name: app_release_type_development
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v3
with:
submodules: true

- name: Print
run: |
ls
- name: Set up Java
uses: actions/setup-java@v3
with:
java-version: "17"
distribution: "adopt"
- name: Set up Flutter
uses: subosito/flutter-action@v2
with:
flutter-version: "3.22.3"
channel: "stable"
- name: check dart version
run: dart --version
- name: Install Dependencies
run: |
sudo apt update -y
sudo apt-get install -y make git zlib1g-dev libssl-dev gperf cmake clang libc++-dev libc++abi-dev php-cli cmake g++
sudo apt-get install -y clang cmake ninja-build pkg-config libgtk-3-dev liblzma-dev
# mpv
sudo apt-get install -y libmpv-dev mpv
shell: bash
- name: Mkdir result
run: mkdir result
- name: Set Flutter enable devices
continue-on-error: true
run: |
flutter config --enable-web
flutter config --enable-linux-desktop
flutter config --enable-macos-desktop
flutter config --enable-windows-desktop
flutter config --enable-android
flutter config --enable-ios
# General Bot App
- name: Pub General Machine System Services
run: |
cd general_machine_system_services/apps/global_app
flutter clean
flutter pub get
- name: Publish General Machine System Services Linux
env:
packagex_github_token: ${{ secrets.TOKEN_GITHUB }}
run: |
cd general_machine_system_services/apps/global_app
dart run packagex publish
Original file line number Diff line number Diff line change
@@ -0,0 +1,66 @@
name: app_release_type_production
on:
# push:
# # [push, workflow_dispatch]
# schedule: [{cron: "0 0 * * 0"}]
workflow_dispatch:
permissions:
contents: write
jobs:
build:
name: app_release_type_production
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v3
with:
submodules: true

- name: Print
run: |
ls
- name: Set up Java
uses: actions/setup-java@v3
with:
java-version: "17"
distribution: "adopt"
- name: Set up Flutter
uses: subosito/flutter-action@v2
with:
flutter-version: "3.22.3"
channel: "stable"
- name: check dart version
run: dart --version
- name: Install Dependencies
run: |
sudo apt update -y
sudo apt-get install -y make git zlib1g-dev libssl-dev gperf cmake clang libc++-dev libc++abi-dev php-cli cmake g++
sudo apt-get install -y clang cmake ninja-build pkg-config libgtk-3-dev liblzma-dev
# mpv
sudo apt-get install -y libmpv-dev mpv
shell: bash
- name: Mkdir result
run: mkdir result
- name: Set Flutter enable devices
continue-on-error: true
run: |
flutter config --enable-web
flutter config --enable-linux-desktop
flutter config --enable-macos-desktop
flutter config --enable-windows-desktop
flutter config --enable-android
flutter config --enable-ios
# General Bot App
- name: Pub General Machine System Services
run: |
cd general_machine_system_services/apps/global_app
flutter clean
flutter pub get
- name: Publish General Machine System Services Linux
env:
packagex_github_token: ${{ secrets.TOKEN_GITHUB }}
run: |
cd general_machine_system_services/apps/global_app
dart run packagex publish
3 changes: 3 additions & 0 deletions general_documentation/LICENSE
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@

Copyright (c) 2024 GLOBAL CORPORATION.

Loading

0 comments on commit 64ebed7

Please sign in to comment.