Skip to content

Merge pull request #458 from RoaringBitmap/fix-457 #217

Merge pull request #458 from RoaringBitmap/fix-457

Merge pull request #458 from RoaringBitmap/fix-457 #217

name: Go-PPC64-CI
on: [push, pull_request]
jobs:
test:
strategy:
matrix:
go-version: [1.17.x]
platform: [ubuntu-latest]
runs-on: ${{ matrix.platform }}
steps:
- name: Install Go
uses: actions/setup-go@v5
with:
go-version: ${{ matrix.go-version }}
- name: Checkout code
uses: actions/checkout@v4
- name: Test
run: |
sudo apt-get update
sudo apt install -y qemu-system-ppc64 qemu-user
GOARCH=ppc64 go test -c -o roaring_test
GOARCH=ppc64 go test ./roaring64 -c -o ./roaring64/roaring64_test
GOARCH=ppc64 go test ./BitSliceIndexing -c -o ./BitSliceIndexing/BitSliceIndexing_test qemu-ppc64 ./roaring_test
qemu-ppc64 ./roaring64/roaring64_test
cd BitSliceIndexing && qemu-ppc64 ./BitSliceIndexing_test