Skip to content

Commit

Permalink
setup-android workflow action
Browse files Browse the repository at this point in the history
Tested-by: Pranav Purwar <[email protected]>
Signed-off-by: PranavPurwar <[email protected]>
Signed-off-by: Pranav Purwar <[email protected]>
  • Loading branch information
PranavPurwar committed Jun 8, 2024
1 parent fa75717 commit 30d6d26
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/android.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ on:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
workflow_dispatch:

jobs:
build:
Expand All @@ -24,6 +25,8 @@ jobs:
- name: Give permission to executable
run: chmod +x gradlew

- name: Setup Android SDK
uses: android-actions/setup-android@v3

- name: Clear build cache
uses: gradle/[email protected]
Expand Down
18 changes: 18 additions & 0 deletions app/src/main/res/layout/fragment_terminal.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
<?xml version="1.0" encoding="utf-8"?><!--
~ This file is part of Cosmic IDE.
~ Cosmic IDE is a free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
~ Cosmic IDE is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
~ You should have received a copy of the GNU General Public License along with Cosmic IDE. If not, see <https://www.gnu.org/licenses/>.
-->

<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="#150E15">

<com.termux.view.TerminalView
android:id="@+id/terminal_view"
android:layout_width="match_parent"
android:layout_height="match_parent" />

</LinearLayout>

0 comments on commit 30d6d26

Please sign in to comment.