Skip to content

Commit

Permalink
add workflowtest
Browse files Browse the repository at this point in the history
  • Loading branch information
envestcc authored and dustinxie committed May 30, 2024
1 parent d643e1b commit ee38024
Showing 1 changed file with 42 additions and 0 deletions.
42 changes: 42 additions & 0 deletions .github/workflows/workflowtest.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
name: WorkflowTest

on:
push:
branches:
- workflowtest

jobs:
build:
name: Release
runs-on: ${{ matrix.os }}
strategy:
matrix:
include:
- os: ubuntu-latest
artifact_name: ioctl-linux-amd64
server_artifact_name: iotex-core-linux-amd64
- os: windows-latest
artifact_name: ioctl-windows-amd64.exe
server_artifact_name: iotex-core-windows-amd64.exe
- os: macos-latest
artifact_name: ioctl-darwin-amd64
server_artifact_name: iotex-core-darwin-amd64
steps:
- name: Checkout code
uses: actions/checkout@v2

- name: Set up Go
uses: actions/setup-go@v2
with:
go-version: 1.21.4

- name: make iotex-server/ioctl
if: startsWith(matrix.os, 'windows-latest') != true
run: |
make build
- name: make iotex-server/ioctl windows
if: startsWith(matrix.os, 'windows-latest')
run: |
make ioctl

0 comments on commit ee38024

Please sign in to comment.