Skip to content

Commit

Permalink
fix makefile for github action
Browse files Browse the repository at this point in the history
  • Loading branch information
aofengli committed Jan 2, 2024
1 parent 5ee7991 commit eeb64f3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ FROM golang:1.19.13-alpine3.18 as builder
ARG EVM_CHAIN_ID

# Set up dependencies
ENV PACKAGES build-base=0.5-r3 git=2.40.1-r0 linux-headers=6.3-r0 bash=5.2.15-r5
ENV PACKAGES make gcc git libc-dev bash linux-headers eudev-dev build-base

WORKDIR /irishub

Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ build-linux: check-evm-chain-id go.sum

build-all-binary: check-evm-chain-id go.sum
LEDGER_ENABLED=false GOOS=linux GOARCH=amd64 CGO_ENABLED=1 go build $(BUILD_FLAGS) -o build/iris-linux-amd64 ./cmd/iris
LEDGER_ENABLED=false GOOS=linux GOARCH=arm64 CGO_ENABLED=1 CC=aarch64-linux-gnu-gcc go build $(BUILD_FLAGS) -o build/iris-linux-arm64 ./cmd/iris
LEDGER_ENABLED=false GOOS=linux GOARCH=arm64 CGO_ENABLED=1 CC=gcc go build $(BUILD_FLAGS) -o build/iris-linux-arm64 ./cmd/iris
LEDGER_ENABLED=false GOOS=windows GOARCH=amd64 CGO_ENABLED=1 go build $(BUILD_FLAGS) -o build/iris-windows-amd64.exe ./cmd/iris

build-contract-tests-hooks:
Expand Down

0 comments on commit eeb64f3

Please sign in to comment.