Skip to content

Build + status#40

Merged
TomTasche merged 35 commits intoopendocument-app:developmentfrom
marcelblanarik:master
Jan 3, 2020
Merged

Build + status#40
TomTasche merged 35 commits intoopendocument-app:developmentfrom
marcelblanarik:master

Conversation

@marcelblanarik
Copy link
Copy Markdown
Contributor

add github action pipeline + add build status to Readme

Comment thread .github/workflows/ios_main.yml Outdated
steps:
- uses: actions/checkout@v1
- name: Checkout submodule
run: git submodule sync --recursive && git submodule update --init --recursive
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

as far as i know "git submodule sync --recursive" is not necessary? "git submodule update --init --recursive" initializes and updates them anyway

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

you're right, I removed the sync part

Comment thread .github/workflows/ios_main.yml Outdated
runs-on: macos-latest
strategy:
matrix:
destination: ['platform=iOS Simulator,OS=13.1,name=iPhone 11']
Copy link
Copy Markdown
Member

@TomTasche TomTasche Dec 21, 2019

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

does github actions guarantee all the OS versions being installed all the time? or do we have to update this field every time a new version is released? is there a way to use the latest one automatically?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

unfortunately, I didn't find any way how to use OS=latest, or something like that, there is an option to not use OS at all, but one still has to specify the phone name, which doesn't solve this issue anyway

Comment thread .github/workflows/ios_main.yml Outdated
run: pod install
- name: Run build.sh
run: bash build.sh
- name: Build and test
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

i'm nitpicking, but this is just "Build", not "test"

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

test was removed

Comment thread README.md Outdated
@@ -1,4 +1,4 @@
# OpenDocument.ios
# OpenDocument.ios ![](https://github.com/marcelblanarik/OpenDocument.ios/workflows/build/badge.svg)
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

please change link to original repository so it immediately works after merge

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

done

@TomTasche
Copy link
Copy Markdown
Member

By the way, does this build each and every commit now? Or only pull requests? Is the build status shown for each commit / pull request on GitHub?

@TomTasche
Copy link
Copy Markdown
Member

Did you close this on purpose?

@marcelblanarik
Copy link
Copy Markdown
Contributor Author

marcelblanarik commented Dec 23, 2019 via email

@TomTasche TomTasche reopened this Dec 23, 2019
@TomTasche
Copy link
Copy Markdown
Member

Added you as a collaborator, please merge and verify

@TomTasche TomTasche merged commit 3028e93 into opendocument-app:development Jan 3, 2020
@TomTasche TomTasche mentioned this pull request Jan 3, 2020
2 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants