Skip to content

Conversation

@BartoszKlonowski
Copy link
Member

This pull request updates the CI workflow by:

  • adding Example apps builds for each platform
  • fixing the issues with example builds
  • removing Detox configuration due to issues with RN
    (this somehow partially closes Fix detox to work with RN 0.60 #88)
  • Adds new orbs to be used for further implementation

The major update is that the example projects now use the Slider package which is pulled directly from the local workspace.
This is to test the build of the changes implemented within the PR and make sure that the implemented changes will build in the real app.

There are also minor changes implemented for this update:

  • CI workflow renamed: test -> slider-full-ci
    This makes the name more descriptive, while test could indicate UT instead.
  • Unit tests are now ran in separate job
    This can emphasize the problem with UTs explicitly when ESLint and Flow are OK.

The commented part of CI workflow was about to be turned on once detox
is configured and ready to be used.

NOTE:
This commit is about to TEST whether this part is still valid.
If the CI workflow fail and cannot be fixed it should be removed or
replaced if possible.
The Detox still have an issue with React Native and seems to not going
forward with more support for it.
It should not be slowing down the CI development - more convenient will
be to configure the build and tests in old-fashioned way.
The Windows Example app is built using the windows@2.4.0 orb of CircleCI
This configuration is based on self installed dependencies, as there's
no `install` job in the CI workflow.

This commit also adds the msbuild.binlog to the ignored files - this is
the build result log file which can be changed anytime app is built.
The Android example app could not be compiled due to no
`downloadDependencies` task. This is fixed by adding it to the
build.gradle configuration, so that rn/android can utilize it.
The rn/ios_build job had an issue of being unable to build the workspace
which would result in the static libraries unable to be found in the
project.
To avoid that the custom job has been implemented, which builds the iOS
app from a workspace point of view, which has all the deps already
linked and can be successfully used to verify the build.
@BartoszKlonowski BartoszKlonowski added enhancement New feature or request dependencies Pull requests that update a dependency file labels Sep 14, 2021
@BartoszKlonowski BartoszKlonowski mentioned this pull request Sep 14, 2021
@BartoszKlonowski BartoszKlonowski merged commit 2b15880 into master Sep 14, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Fix detox to work with RN 0.60

2 participants