File tree Expand file tree Collapse file tree 2 files changed +33
-9
lines changed
Expand file tree Collapse file tree 2 files changed +33
-9
lines changed Original file line number Diff line number Diff line change 5151 s3cmd ${{secrets.S3CMD}} put geesefs-win-x64.exe s3://${{secrets.S3BUCKET}}/${GITHUB_REF/refs\/tags\/v/}/geesefs-win-x64.exe
5252 s3cmd ${{secrets.S3CMD}} put geesefs-tests-linux-amd64 s3://${{secrets.S3BUCKET}}/${GITHUB_REF/refs\/tags\/v/}/geesefs-tests-linux-amd64
5353
54- - name : Test
55- run : SAME_PROCESS_MOUNT=1 make run-test
56-
5754 - uses : " marvinpinto/action-automatic-releases@latest"
5855 with :
5956 repo_token : " ${{ secrets.GITHUB_TOKEN }}"
6461 geesefs-mac-amd64
6562 geesefs-mac-arm64
6663 geesefs-win-x64.exe
67-
68- - name : Run xfstests
69- # Often crashes in CI due to memory limits
70- continue-on-error : true
71- run : make run-xfstests
72- timeout-minutes : 10
Original file line number Diff line number Diff line change 1+ name : Test
2+
3+ on :
4+ push :
5+ branches :
6+ - master
7+
8+ jobs :
9+
10+ build :
11+ runs-on : ubuntu-latest
12+ steps :
13+ - uses : actions/checkout@v2
14+
15+ - name : Set up Go
16+ uses : actions/setup-go@v2
17+ with :
18+ go-version : 1.19
19+
20+ - name : Build linux amd64
21+ run : env CGO_ENABLED=0 go build -o geesefs-linux-amd64 -v && ln -s geesefs-linux-amd64 geesefs
22+
23+ - name : Build tests
24+ run : go test -c github.com/yandex-cloud/geesefs/internal -o geesefs-tests-linux-amd64
25+
26+ - name : Run tests
27+ run : SAME_PROCESS_MOUNT=1 make run-test
28+
29+ - name : Run xfstests
30+ # Often crashes in CI due to memory limits
31+ continue-on-error : true
32+ run : make run-xfstests
33+ timeout-minutes : 10
You can’t perform that action at this time.
0 commit comments