Skip to content

Commit

Permalink
GHA: update test.yml workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
iorveth committed Jun 18, 2024
1 parent 62cb5c9 commit 42ffc98
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
5 changes: 4 additions & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,10 @@ jobs:
go-version: '1.22'

- name: Build contracts
run: sudo make build-contracts
run: cd contracts; make build; cd ..

- name: Move contracts
run: sudo make move contracts

- name: Test
run: go test -v ./...
5 changes: 2 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,14 +1,13 @@
###########################
### Build contracts ###
### Move contracts ###
###########################

#!/bin/bash

UNAMEP := $(shell uname -p)
build-contracts:
move-contracts:
echo $(UNAMEP)
mkdir -p contracts_wasm
#cd contracts; make build; cd ..
for file in ./contracts/artifacts/*; do \
if [ $(UNAMEP) = arm ]; then \
echo "$$file"; \
Expand Down

0 comments on commit 42ffc98

Please sign in to comment.