Skip to content

Commit

Permalink
Merge pull request #73 from holiman/ci_bigendian
Browse files Browse the repository at this point in the history
ci: Test big-endian architecture (ppc64)
  • Loading branch information
chfast authored Jun 4, 2020
2 parents 5c64e07 + 9dbc8df commit b7f9696
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions circle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,29 @@ jobs:
- run:
name: "Benchmark"
command: go test -run=- -bench=. -benchmem
- run:
name: "Build tests for PPC64"
command: |
GOARCH=ppc64 go test -c
mv uint256.test uint256.test.ppc64
- persist_to_workspace:
root: .
paths:
- uint256.test.*

bigendian:
docker:
- image: circleci/buildpack-deps:bullseye
steps:
- run:
name: "Install QEMU"
command: sudo apt-get -q update && sudo apt-get -qy install qemu-user-static --no-install-recommends
- attach_workspace:
at: .
- run:
name: "Test (PPC64 emulation)"
command: qemu-ppc64-static uint256.test.ppc64 -test.v


go113:
docker:
Expand All @@ -79,3 +102,6 @@ workflows:
- go114
- go113
- go112
- bigendian:
requires:
- go114

0 comments on commit b7f9696

Please sign in to comment.