refactor(depinject/appconfig): remove api module dependency (#20931) #6
This file contains 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
name: Build SimApp | |
on: | |
pull_request: | |
merge_group: | |
push: | |
branches: | |
- main | |
- release/** | |
permissions: | |
contents: read | |
concurrency: | |
group: ci-${{ github.ref }}-build | |
cancel-in-progress: true | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
go-arch: ["amd64", "arm", "arm64"] | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: DeterminateSystems/nix-installer-action@main | |
- uses: DeterminateSystems/magic-nix-cache-action@main | |
- uses: actions/setup-go@v5 | |
with: | |
go-version: "1.22" | |
check-latest: true | |
################### | |
#### Build App #### | |
################### | |
- name: Build | |
run: GOARCH=${{ matrix.go-arch }} make build | |
- name: Build Legacy | |
run: GOARCH=${{ matrix.go-arch }} COSMOS_BUILD_OPTIONS=legacy make build | |
- name: Build with rocksdb backend | |
if: | | |
env.GIT_DIFF && | |
matrix.go-arch == 'amd64' | |
run: nix run . -- version --long | |
################### | |
## Build Tooling ## | |
################### | |
- name: Build Cosmovisor | |
run: GOARCH=${{ matrix.go-arch }} make cosmovisor | |
- name: Build Confix | |
run: GOARCH=${{ matrix.go-arch }} make confix | |
- name: Build Hubl | |
run: GOARCH=${{ matrix.go-arch }} make hubl |