Merge pull request #464 from dominiquelefevre/fewer-allocations-in-ia… #228
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |