-
Notifications
You must be signed in to change notification settings - Fork 58
63 lines (54 loc) · 1.57 KB
/
test-all-32bits.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
name: "Test Go Client - 32bit"
on: ["push", "pull_request"]
jobs:
test:
runs-on: "ubuntu-latest"
env:
GOPATH: "${{ github.workspace }}"
HZ_VERSION: "5.3.6"
strategy:
matrix:
os: [ "ubuntu-latest" ]
go_version: [ "1.20" ]
fail-fast: false
defaults:
run:
shell: "bash"
working-directory: "$HOME/hazelcast-go-client"
steps:
- name: "Checkout Code"
uses: "actions/checkout@v2"
with:
path: "$HOME/hazelcast-go-client"
- name: "Setup Go"
uses: "actions/setup-go@v2"
with:
go-version: "${{ matrix.go_version }}"
- name: "Setup JRE"
uses: "actions/setup-java@v2"
with:
distribution: "zulu"
java-version: "8"
- name: "Download RCD (Linux/MacOS)"
if: "!contains(matrix.os, 'windows')"
run: |
wget https://rcd-download.s3.us-east-2.amazonaws.com/rcd-${{ matrix.os }}
- name: "Start Hazelcast Remote Controller (Linux/MacOS)"
if: "!contains(matrix.os, 'windows')"
run: |
chmod +x rcd-${{ matrix.os }}
./rcd-${{ matrix.os }} -version $HZ_VERSION -dir $HOME &
sleep 10
- name: "Install Go tools"
run: |
go install golang.org/x/tools/...@v0.16.0
go install honnef.co/go/tools/cmd/staticcheck@v0.4.6
- name: "Go mod tidy"
run: |
go mod tidy
- name: "Run Checkers"
run: |
make check
- name: "Run All Tests"
run: |
GOARCH=386 make test-all