Skip to content

Commit

Permalink
run raft-compat as part of CI
Browse files Browse the repository at this point in the history
  • Loading branch information
dhiaayachi committed Mar 19, 2024
1 parent 1aea16f commit 63732e3
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions .github/workflows/ci.yml
Expand Up @@ -55,3 +55,28 @@ jobs:
# x86-64 specific build.
- if: matrix.arch == 'x64'
run: go test -race --tags batchtest ./...
go-test-compat:
needs: go-test
strategy:
matrix:
go: [ '1.19', '1.20' ]
arch: [ 'x32', 'x64' ]
runs-on: ubuntu-22.04
env:
INTEG_TESTS: yes
steps:
- uses: actions/checkout@ac593985615ec2ede58e132d2e21d2b1cbd6127c # v3.3.0
- uses: actions/setup-go@6edd4406fa81c3da01a34fa6f6343087c207a568 # v3.5.0
with:
go-version: ${{ matrix.go }}
architecture: ${{ matrix.arch }}
cache: true
# x86 specific build.
- if: matrix.arch == 'x32'
run: |
sudo apt-get update
sudo apt-get install gcc-multilib
go test raft-compat/...
# x86-64 specific build.
- if: matrix.arch == 'x64'
run: go test -race raft-compat/...

0 comments on commit 63732e3

Please sign in to comment.