File tree Expand file tree Collapse file tree 1 file changed +53
-0
lines changed Expand file tree Collapse file tree 1 file changed +53
-0
lines changed Original file line number Diff line number Diff line change
1
+ on :
2
+ schedule :
3
+ - cron : " 0 */12 * * *"
4
+ workflow_dispatch :
5
+ jobs :
6
+ # Wait for up to a minute for previous run to complete, abort if not done by then
7
+ pre-ci :
8
+ runs-on : ubuntu-latest
9
+ timeout-minutes : 1
10
+ steps :
11
+ - name : ' Block Concurrent Executions'
12
+ uses : softprops/turnstyle@v1
13
+ with :
14
+ poll-interval-seconds : 10
15
+ env :
16
+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
17
+ # Note: no -pl here because we publish everything from this branch and use this as the basis for all uploads.
18
+ linux-arm64 :
19
+ needs : pre-ci
20
+ runs-on : ubuntu-16.04
21
+ steps :
22
+ - uses : AutoModality/action-clean@v1
23
+ - name : Cancel Previous Runs
24
+
25
+ with :
26
+ access_token : ${{ github.token }}
27
+ - uses : actions/checkout@v2
28
+ - uses : ./.github/actions/update-deps-linux
29
+ - uses : ./.github/actions/install-protobuf-linux
30
+ - uses : ./.github/actions/install-cmake-linux
31
+ - name : Set up Java for publishing to GitHub Packages
32
+ uses : actions/setup-java@v1
33
+ with :
34
+ java-version : 1.8
35
+ server-id : sonatype-nexus-snapshots
36
+ server-username : MAVEN_USERNAME
37
+ server-password : MAVEN_PASSWORD
38
+ gpg-private-key : ${{ secrets.SONATYPE_GPG_KEY }}
39
+ gpg-passphrase : MAVEN_GPG_PASSPHRASE
40
+ - name : Build on linux-arm64
41
+ shell : bash
42
+ env :
43
+ DEBIAN_FRONTEND : noninteractive
44
+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
45
+ run : |
46
+ mvn --version
47
+ cmake --version
48
+ protoc --version
49
+ for folder in `ls`; do
50
+ mvn clean test
51
+ done
52
+
53
+
You can’t perform that action at this time.
0 commit comments