Skip to content
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

Build Local-Interchain binaries for outside workflow actions #791

Closed
Reecepbcups opened this issue Sep 19, 2023 · 1 comment
Closed

Build Local-Interchain binaries for outside workflow actions #791

Reecepbcups opened this issue Sep 19, 2023 · 1 comment

Comments

@Reecepbcups
Copy link
Member

depends on #410 for a release/tag cycle.

Without this, a fresh build is required every time for CI in outside repos. It would be nice to just pull from here & build every time as we expand

jobs:
  build:
    runs-on: ubuntu-latest
    name: build
    steps:
      - name: Checkout interchaintest
        uses: actions/checkout@v4
        with:
            repository: strangelove-ventures/interchaintest
            path: interchaintest
            ref: 'reece/rust'

      - name: Setup go ${{ env.GO_VERSION }}
        uses: actions/setup-go@v4
        with:
            go-version: ${{ env.GO_VERSION }}

      - name: build local-interchain        
        run: cd interchaintest/local-interchain && go mod tidy && make install

      - name: Upload localic artifact
        uses: actions/upload-artifact@v3
        with:
          name: local-ic
          path: ~/go/bin/local-ic  

Instead we could just download from the latest via a wget of the bin, and allow an override to specify a tag/version (ex: IBC 8 is v8.0.0/local-ic)

@Reecepbcups Reecepbcups changed the title Build LocalIC binaries for outside workflow actions Build Local-Interchain binaries for outside workflow actions Sep 19, 2023
@Reecepbcups
Copy link
Member Author

Completed when v7 & 8 where tagged :D

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

No branches or pull requests

1 participant