-
Notifications
You must be signed in to change notification settings - Fork 46
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Adds ci workflow to build experimental archive from
ooni/probe-cli
- Loading branch information
Showing
1 changed file
with
32 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
name: build_experimental_engine | ||
|
||
on: [push] | ||
|
||
jobs: | ||
build_android: | ||
runs-on: ubuntu-22.04 | ||
|
||
steps: | ||
- uses: actions/checkout@v4 | ||
|
||
- name: Set up JDK 17 | ||
uses: actions/setup-java@v3 | ||
with: | ||
java-version: '17' | ||
distribution: 'temurin' | ||
|
||
- name: Setup Android SDK | ||
uses: android-actions/setup-android@v3 | ||
|
||
- name: Get GOVERSION content | ||
id: goversion | ||
run: echo "version=$(cat GOVERSION)" >> "$GITHUB_OUTPUT" | ||
shell: bash | ||
|
||
- uses: magnetikonline/action-golang-cache@v4 | ||
with: | ||
go-version: "${{ steps.goversion.outputs.version }}" | ||
cache-key-suffix: "-coverage-${{ steps.goversion.outputs.version }}" | ||
|
||
- name: Build Experimental Archive from `ooni/probe-cli` | ||
run: ./gradlew buildExperimentalArchive |