-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'orion_keyboard_1' into dev
# Conflicts: # lib/files/files_screen.dart # lib/home/home_screen.dart # lib/main.dart # lib/settings/debug_screen.dart # lib/settings/settings_screen.dart # macos/Podfile.lock # macos/Runner.xcodeproj/project.pbxproj # macos/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme # pubspec.lock # pubspec.yaml
- Loading branch information
Showing
25 changed files
with
1,458 additions
and
213 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,77 @@ | ||
name: Build Orion | ||
|
||
on: | ||
push: | ||
workflow_call: | ||
workflow_dispatch: | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4.1.1 | ||
- uses: seanmiddleditch/gha-setup-ninja@master | ||
- uses: subosito/flutter-action@v2 | ||
with: | ||
channel: 'stable' # or: 'beta', 'dev', 'master' (or 'main') | ||
- run: sudo apt-get update && sudo apt-get install -y gtk+-3.0 | ||
- run: flutter pub global activate flutterpi_tool | ||
- run: flutter build linux | ||
|
||
- name: Get Version | ||
id: get_version | ||
uses: mikefarah/yq@master | ||
with: | ||
cmd: yq '.version' pubspec.yaml | ||
|
||
- name: Build, Copy, and Compress armv7 | ||
run: | | ||
flutterpi_tool build --release | ||
mv build/flutter_assets orion_armv7 | ||
tar -czvf orion_armv7.tar.gz orion_armv7 | ||
- uses: actions/upload-artifact@v4.3.1 | ||
with: | ||
name: orion_armv7 | ||
path: orion_armv7/* | ||
|
||
- name: Build, Copy, and Compress aarch64 | ||
run: | | ||
flutterpi_tool build --arch=arm64 --release | ||
mv build/flutter_assets orion_aarch64 | ||
tar -czvf orion_aarch64.tar.gz orion_aarch64 | ||
- uses: actions/upload-artifact@v4.3.1 | ||
with: | ||
name: orion_aarch64 | ||
path: orion_aarch64/* | ||
|
||
- name: Build, Copy, and Compress x64 | ||
run: | | ||
flutterpi_tool build --arch=x64 --release | ||
mv build/flutter_assets orion_x64 | ||
tar -czvf orion_x64.tar.gz orion_x64 | ||
- uses: actions/upload-artifact@v4.3.1 | ||
with: | ||
name: orion_x64 | ||
path: orion_x64/* | ||
|
||
- uses: ncipollo/release-action@v1.14.0 | ||
if: github.ref == 'refs/heads/main' | ||
with: | ||
artifacts: orion*.tar.gz | ||
tag: v${{ steps.get_version.outputs.result }} | ||
skipIfReleaseExists: true | ||
generateReleaseNotes: true | ||
commit: ${{github.sha}} | ||
- uses: ncipollo/release-action@v1.14.0 | ||
if: github.ref != 'refs/heads/main' | ||
with: | ||
artifacts: orion*.tar.gz | ||
tag: BRANCH_${{github.ref_name}} | ||
skipIfReleaseExists: false | ||
allowUpdates: true | ||
prerelease: true | ||
generateReleaseNotes: true | ||
commit: ${{github.sha}} |
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,3 +1,4 @@ | ||
{ | ||
"cmake.configureOnOpen": false | ||
"cmake.configureOnOpen": false, | ||
"editor.bracketPairColorization.independentColorPoolPerBracketType": false | ||
} |
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 |
---|---|---|
@@ -0,0 +1,12 @@ | ||
# EditorConfig is awesome: https://EditorConfig.org | ||
|
||
# top-most EditorConfig file | ||
root = true | ||
|
||
[*] | ||
indent_style = space | ||
indent_size = 4 | ||
end_of_line = lf | ||
charset = utf-8 | ||
trim_trailing_whitespace = false | ||
insert_final_newline = false |
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,2 @@ | ||
extensions: | ||
- provider: true |
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.