Skip to content

Merge pull request #8 from eosnetworkfoundation/elmato/restore-defaul… #7

Merge pull request #8 from eosnetworkfoundation/elmato/restore-defaul…

Merge pull request #8 from eosnetworkfoundation/elmato/restore-defaul… #7

Workflow file for this run

name: EOS EVM Node CI
on:
push:
branches:
- main
- release/*
pull_request:
workflow_dispatch:
inputs:
upload-artifacts:
description: 'Upload artifacts, including the build.tar.gz, for debugging.'
type: boolean
default: false
defaults:
run:
shell: bash
jobs:
documentation:
name: Attach Documentation
runs-on: ubuntu-latest
steps:
- name: Checkout Repo
uses: actions/checkout@v3
with:
fetch-depth: 1
submodules: 'false'
- name: Attach Documentation
run: cat .github/workflows/node.md >> $GITHUB_STEP_SUMMARY
build:
name: EOS EVM Node Build
runs-on: ubuntu-20.04
steps:
- name: Authenticate
id: auth
uses: AntelopeIO/github-app-token-action@v1
with:
app_id: ${{ secrets.TRUSTEVM_CI_APP_ID }}
private_key: ${{ secrets.TRUSTEVM_CI_APP_KEY }}
- name: Checkout Repo
uses: actions/checkout@v3
with:
fetch-depth: 0
submodules: 'recursive'
token: ${{ steps.auth.outputs.token }}
- name: Build EOS EVM Node
run: .github/workflows/build-node.sh
env:
CC: gcc-10
CXX: g++-10
- name: Upload Artifacts
uses: actions/upload-artifact@v3
if: inputs.upload-artifacts || false
with:
name: build.tar.gz
path: build.tar.gz