This repository has been archived by the owner on Sep 20, 2023. It is now read-only.
contract executor #395
Workflow file for this run
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
# This is a basic workflow that is manually triggered | |
name: icad | |
# Controls when the action will run. Workflow runs when manually triggered using the UI | |
# or API. | |
on: | |
push: | |
branches: | |
- master | |
pull_request: | |
# This workflow makes x86_64 binaries for mac, windows, and linux. | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
arch: [amd64, arm64] | |
targetos: [windows, darwin, linux] | |
name: interchainaccount ${{ matrix.arch }} for ${{ matrix.targetos }} | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Setup go | |
uses: actions/setup-go@v3 | |
with: | |
go-version: 1.21 | |
env: | |
GOOS: ${{ matrix.targetos }} | |
GOARCH: ${{ matrix.arch }} | |
- name: Compile | |
run: | | |
go mod download | |
cd cmd/icad | |
go build . | |
- uses: actions/upload-artifact@v2 | |
with: | |
name: icad ${{ matrix.targetos }} ${{ matrix.arch }} | |
path: cmd/icad/icad |