kuzzleio / sdk-go

Golang SDK using the WebSocket protocol to communicate with Kuzzle API including offline resiliency
http://docs.kuzzle.io/sdk/go/2
Apache License 2.0
8 stars 5 forks source link

[CI] Add tests with qemu-aarch64-static #278

Closed rolljee closed 1 year ago

rolljee commented 3 years ago

Theses Steps have been removed from github actions, support of qemu differ from travis

See: https://github.com/kuzzleio/sdk-go/actions/runs/421151964

  tests-linux-arm64:
    name: Linux go ${{ matrix.go-version }} on ${{ matrix.arch }} 
    runs-on: ubuntu-latest
    strategy:
      matrix:
        arch: [arm64]
        go-version: [1.15.x, 1.11.x]
    steps:
      - uses: actions/checkout@v2
      - uses: actions/setup-go@v2
        with:
          go-version: ${{ matrix.go-version }}
      - run: sudo apt update
      - run: sudo apt install qemu-user-static
      - uses: ./.github/actions/tests
        with:
          os: linux
          arch: ${{ matrix.arch }}
          command: sudo taskset -c 1 go test -v -exec "qemu-aarch64-static" ./...

  tests-linux-armhf:
    name: Linux go ${{ matrix.go-version }} on ${{ matrix.arch }} 
    runs-on: ubuntu-latest
    strategy:
      matrix:
        arch: [arm]
        go-version: [1.15.x, 1.11.x, 1.10.x]
    steps:
      - uses: actions/checkout@v2
      - uses: actions/setup-go@v2
        with:
          go-version: ${{ matrix.go-version }}
      - run: sudo apt update
      - run: sudo apt install qemu-user-static
      - uses: ./.github/actions/tests
        with:
          os: linux
          arch: ${{ matrix.arch }}
          goarm: 7
          command: sudo taskset -c 1 go test -v -exec "qemu-aarch64-static" ./...

Here is the result so far.