-
Notifications
You must be signed in to change notification settings - Fork 0
Turk/ci #12
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
Open
turkosaurus
wants to merge
39
commits into
main
Choose a base branch
from
turk/ci
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Turk/ci #12
Changes from all commits
Commits
Show all changes
39 commits
Select commit
Hold shift + click to select a range
1aca546
update brand
turkosaurus 0f5b29a
update CI
turkosaurus 728cbdf
basic CI start
turkosaurus a69467f
added java distro to test_flutter.yml
katlukens 8624a7a
updated test_flutter with ai input
katlukens 236f503
updated test_flutter to run on branch push
katlukens 842e994
update to test_flutter.yml to fix Cache Flutter SDK
katlukens fe08ab0
update to test_flutter.yml to fix Cache Flutter SDK 2nd try
katlukens 6afe9d0
update to test_flutter.yml to fix Cache Flutter SDK 3rd try
katlukens 787b20a
update to test_flutter.yml to fix Cache Flutter SDK 4th try
katlukens bd16ee5
5th update to test_flutter.yml to fix Cache Flutter SDK
katlukens 8a7b954
6th update to test_flutter.yml to fix Cache Flutter SDK
katlukens c0c0c27
7th update to test_flutter.yml to fix Cache Flutter SDK
katlukens 360c06a
8th update to test_flutter.yml to fix Cache Flutter SDK
katlukens 5d3295e
9th update to test_flutter.yml to fix Cache Flutter SDK
katlukens 1cdf573
10th update to test_flutter.yml to fix Cache Flutter SDK
katlukens 301f54e
11th update to test_flutter.yml to fix Cache Flutter SDK
katlukens fa9511d
12th update to test_flutter.yml to fix Cache Flutter SDK
katlukens ca443fa
13th update to test_flutter.yml to fix Cache Flutter SDK
katlukens cf96ccc
1st update to test_flutter.yml to fix entire workflow
katlukens fee6163
2nd update to test_flutter.yml to fix entire workflow
katlukens b20a6ec
3rd update to test_flutter.yml to fix entire workflow
katlukens 9af0ccb
4th update to test_flutter.yml to fix entire workflow
katlukens c94ef40
5th attempt to update test_flutter.yml to work
katlukens 65d0f4a
6th attempt to update test_flutter.yml to work
katlukens 5397a3b
7th attempt to have flutter_test.yml work
katlukens 0152df7
8th attempt to have flutter_test.yml work
katlukens 9921209
9th attempt to make flutter_test.yml work
katlukens 6885c08
10th attempt to make flutter_test.yml work
katlukens 02507cb
11th attempt to make flutter_test.yml work
katlukens 4ee5e49
12th attempt to make flutter_test.yml work
katlukens 93f0c7a
13th attempt to make flutter_test.yml work
katlukens 8b6a686
testing workflow with no cache
katlukens 48e681e
testing workflow with ios build
katlukens 62430be
testing upload-artifact
katlukens 70591af
removing build ios, needs to be seperate task
katlukens beb7fd2
removing build ios, needs to be seperate task take 2
katlukens 3a5088c
will workflow run with tag
katlukens 88c4113
run workflow with real tags this time
katlukens File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains hidden or 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 hidden or 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,76 @@ | ||
| name: Flutter CI | ||
| on: | ||
| workflow_dispatch: | ||
| push: | ||
| tags: | ||
| - 'v*' | ||
| # branches: | ||
| # - main | ||
| # - turk/ci | ||
|
|
||
| jobs: | ||
| build: | ||
| runs-on: ubuntu-latest | ||
| steps: | ||
| - name: Checkout code | ||
| uses: actions/checkout@v4 | ||
| with: | ||
| ref: kat/flutterbeep | ||
|
|
||
| - name: Set up JDK 17 | ||
| uses: actions/setup-java@v2 | ||
| with: | ||
| java-version: "17" | ||
| distribution: "temurin" | ||
|
|
||
| - name: Verify Java version | ||
| run: java -version | ||
|
|
||
| - name: Install Flutter SDK | ||
| run: | | ||
| echo "Downloading Flutter SDK..." | ||
| git clone https://github.com/flutter/flutter.git -b stable --depth 1 $HOME/flutter | ||
| echo "$HOME/flutter/bin" >> $GITHUB_PATH | ||
| export PATH="$HOME/flutter/bin:$PATH" | ||
|
|
||
| - name: Accept Android licenses | ||
| run: yes | flutter doctor --android-licenses | ||
|
|
||
| - name: Install GTK 3.0 development libraries (if needed) | ||
| run: sudo apt-get update && sudo apt-get install -y libgtk-3-dev | ||
|
|
||
| - name: Verify Flutter installation | ||
| run: flutter doctor | ||
|
|
||
| - name: Flutter version | ||
| run: flutter --version | ||
|
|
||
| - name: Install dependencies | ||
| working-directory: app | ||
| run: flutter pub get | ||
|
|
||
| - name: Run Flutter tests | ||
| working-directory: app | ||
| run: flutter test | ||
|
|
||
| - name: Build APK | ||
| working-directory: app | ||
| run: flutter build apk --release | ||
|
|
||
| - name: Upload APK artifact | ||
| uses: actions/upload-artifact@v4 | ||
| with: | ||
| name: android-apk | ||
| path: app/build/app/outputs/flutter-apk/app-release.apk | ||
|
|
||
| - name: Build iOS (if applicable) | ||
| if: runner.os == 'macOS' | ||
| working-directory: app | ||
| run: flutter build ios --release | ||
|
|
||
| - name: Upload iOS artifact (if applicable) | ||
| if: runner.os == 'macOS' | ||
| uses: actions/upload-artifact@v4 | ||
| with: | ||
| name: ios-ipa | ||
| path: build/ios/ipa/*.ipa | ||
This file contains hidden or 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 hidden or 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
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Does this not need the working dir option that android does?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It does, and has one now. :)