Skip to content

Commit

Permalink
Initial commit
Browse files Browse the repository at this point in the history
  • Loading branch information
ItzSwirlz authored Jan 1, 2024
0 parents commit 701aa30
Show file tree
Hide file tree
Showing 45 changed files with 2,160 additions and 0 deletions.
10 changes: 10 additions & 0 deletions .github/dependabot.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
version: 2
updates:
- package-ecosystem: gitsubmodule
directory: /
schedule:
interval: "daily"
target-branch: "main"
commit-message:
prefix: "chore"
include: "scope"
Binary file added .github/screenshot.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
23 changes: 23 additions & 0 deletions .github/workflows/auto-merge.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: Auto-merge

on:
pull_request:
branches:
- main
- 'ubuntu/**'
- 'canary-*'

permissions:
contents: write
pull-requests: write

jobs:
dependabot:
runs-on: ubuntu-latest
if: ${{github.actor == 'dependabot[bot]'}}
steps:
- name: Merge PR
run: gh pr merge --auto --squash "$PR_URL"
env:
PR_URL: ${{github.event.pull_request.html_url}}
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
66 changes: 66 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,66 @@
name: CI

on:
push:
branches:
- main
- 'ubuntu/**'
- 'canary-*'
pull_request:
workflow_dispatch:

env:
FLUTTER_VERSION: '3.10.x'

jobs:
analyze:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v3
with:
submodules: recursive
- uses: subosito/flutter-action@v2
with:
flutter-version: ${{env.FLUTTER_VERSION}}
- run: flutter pub global activate melos
- run: melos bootstrap
- run: melos analyze

build:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v3
with:
submodules: recursive
- run: sudo apt update
- run: sudo apt install -y clang cmake curl libgtk-3-dev ninja-build pkg-config unzip
env:
DEBIAN_FRONTEND: noninteractive
- uses: subosito/flutter-action@v2
with:
flutter-version: ${{env.FLUTTER_VERSION}}
- run: flutter pub global activate melos
- run: melos bootstrap
- run: flutter build linux -v

format:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v3
with:
submodules: recursive
- uses: subosito/flutter-action@v2
with:
flutter-version: ${{env.FLUTTER_VERSION}}
- run: flutter pub global activate melos
- run: melos bootstrap
- run: melos format

subiquity:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v3
with:
submodules: recursive
- name: Check subiquity integration
run: ./scripts/subiquity_integration
25 changes: 25 additions & 0 deletions .github/workflows/snap.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: Snap

on:
push:
branches:
- main
- 'ubuntu/**'
- 'canary-*'
pull_request:
workflow_dispatch:

jobs:
build:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v3
with:
submodules: recursive
- uses: snapcore/action-build@v1
id: snapcraft
- uses: actions/upload-artifact@v3
if: github.event_name == 'workflow_dispatch'
with:
name: 'snap'
path: ${{steps.snapcraft.outputs.snap}}
44 changes: 44 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
# Miscellaneous
*.class
*.log
*.pyc
*.swp
.DS_Store
.atom/
.buildlog/
.history
.svn/

# IntelliJ related
*.iml
*.ipr
*.iws
.idea/

# The .vscode folder contains launch configuration and tasks you configure in
# VS Code which you may wish to be included in version control, so this line
# is commented out by default.
.vscode/

# Flutter/Dart/Pub related
**/doc/api/
**/ios/Flutter/.last_build_id
.dart_tool/
.flutter-plugins
.flutter-plugins-dependencies
.packages
.pub-cache/
pubspec.lock
pubspec_overrides.yaml
.pub/
/build/
/doc/
/coverage/

# Symbolication related
app.*.symbols

# Obfuscation related
app.*.map.json

*.snap
4 changes: 4 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
[submodule "ubuntu-desktop-provision"]
path = vendor/ubuntu-desktop-provision
url = https://github.com/canonical/ubuntu-desktop-provision.git
branch = archive/main
10 changes: 10 additions & 0 deletions .metadata
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
# This file tracks properties of this Flutter project.
# Used by Flutter tool to assess capabilities and perform upgrades etc.
#
# This file should be version controlled and should not be manually edited.

version:
revision: 18116933e77adc82f80866c928266a5b4f1ed645
channel: stable

project_type: app
Loading

0 comments on commit 701aa30

Please sign in to comment.