Skip to content
This repository has been archived by the owner on May 30, 2022. It is now read-only.

Add onpush int-* github action #75

Draft
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

gagbo
Copy link
Contributor

@gagbo gagbo commented Jun 2, 2020

Purpose

For coin integration branches, it is necessary to trigger this push to
help testers down the road (Live-common CLI tests).

Features

Any push/merge on int-COIN will push a new @ledgerhq/ledger-core@COIN so
that live-common-only users hopefully don't need a full GCC toolchain to
test the current version in CLI.

Notes

No Yarn version run during the action

yarn version is actually a hidden git commit so it may trigger an
infinite loop (actually it fails because there are no credentials)

Crendentials

The name of the CI secret is currently hardcoded to the name used in CoinInt specific CI. The exact name is not fixed by any means ; but using a different name for the secret between the 2 forks has the nice advantage of preventing unwanted publishes from one repo or another.

- name: config gcc
if: runner.os == 'Linux'
run: sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-7 700 --slave /usr/bin/g++ g++ /usr/bin/g++-7
- name: prebuild for electron 8.1
Copy link
Member

Choose a reason for hiding this comment

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

Can you update 8.1 to 9 ? Check on master we merged a new version

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Will do, no idea why it has not updated yet

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Not staging the changes is one answer....

@gagbo gagbo force-pushed the coin-int-specific-CI branch 2 times, most recently from e4c9af2 to 44c8dde Compare June 3, 2020 08:35
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-16.04, macos-latest, windows-2016]
Copy link
Member

Choose a reason for hiding this comment

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

just a question, why not using ubuntu-latest and windows-latest ?

Copy link
Contributor

Choose a reason for hiding this comment

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

I suggest to always use well-defined runners instead of xxx-latest to avoid to break CI in future latest release platforms

gagbo added 2 commits June 25, 2020 18:00
For coin integration branches, it is necessary to trigger this push to
help testers down the road (Live-common CLI tests).
Any push/merge on int-COIN will push a new @ledgerhq/ledger-core@COIN so
that live-common-only users hopefully don't need a full GCC toolchain to
test the current version in CLI.

It does not not run the yarn version on the Action.
yarn version is actually a hidden git commit so it will trigger an
infinite loop (actually it fails because there are no credentials)
@gagbo gagbo force-pushed the coin-int-specific-CI branch from be5347b to da7a769 Compare June 25, 2020 16:00
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants