Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CI: use GHA for codegen_verification #4412

Merged
merged 4 commits into from
Aug 16, 2022
Merged
Show file tree
Hide file tree
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 0 additions & 13 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,8 +64,6 @@ workflows:
version: 2
"circleci_build_and_test":
jobs:
- codegen_verification

- build:
name: << matrix.platform >>_build
matrix: &matrix-default
Expand Down Expand Up @@ -179,7 +177,6 @@ workflows:
- << matrix.platform >>_integration_nightly_verification
- << matrix.platform >>_e2e_expect_nightly_verification
- << matrix.platform >>_e2e_subs_nightly
- codegen_verification
filters:
branches:
only:
Expand Down Expand Up @@ -483,16 +480,6 @@ commands:
scripts/travis/test_release.sh

jobs:
codegen_verification:
executor: amd64_medium
steps:
- checkout
- prepare_go
- run: |
export PATH=$(echo "$PATH" | sed -e 's|:/home/circleci/\.go_workspace/bin||g' | sed -e 's|:/usr/local/go/bin||g')
export GOPATH="/home/circleci/go"
scripts/travis/codegen_verification.sh

build:
parameters:
platform:
Expand Down
21 changes: 21 additions & 0 deletions .github/workflows/codegen_verification.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: "codegen verification"
on:
pull_request:
jobs:
codegen_verification:
runs-on: ubuntu-20.04
steps:
- name: Check out code
uses: actions/checkout@v3
with:
fetch-depth: 0
path: go-algorand
- name: Install libraries
run: sudo apt-get -y -q install libboost-math-dev
- name: Uninstall existing go installation
run: sudo apt-get -y -q purge golang-go
- name: Run codegen_verification.sh
run: |
export GOPATH="${GITHUB_WORKSPACE}/go"
cd go-algorand
scripts/travis/codegen_verification.sh