Skip to content

Commit 18c266a

Browse files
committed
ci: do not build with graalvm
1 parent 1324440 commit 18c266a

File tree

1 file changed

+0
-58
lines changed

1 file changed

+0
-58
lines changed

Diff for: .github/workflows/nightly-build.yaml

-58
Original file line numberDiff line numberDiff line change
@@ -78,64 +78,6 @@ jobs:
7878
arguments: fatJar --no-daemon --stacktrace --warning-mode all
7979
if: matrix.os == 'ubuntu-latest'
8080

81-
- name: Setup GraalVM for Java ${{ needs.check-aya-version.outputs.javaVersion }}
82-
uses: graalvm/setup-graalvm@v1
83-
with:
84-
java-version: ${{ needs.check-aya-version.outputs.javaVersion }}
85-
distribution: 'graalvm-community'
86-
components: 'native-image'
87-
set-java-home: 'true'
88-
cache: 'gradle'
89-
github-token: ${{ secrets.GH_TOKEN }}
90-
91-
- name: Setup MSVC
92-
uses: ilammy/msvc-dev-cmd@v1
93-
if: matrix.os == 'windows-latest'
94-
95-
- name: Tell gradle where's my JDK
96-
run: |
97-
# Gradle should respect these environmental variables by default!
98-
echo 'org.gradle.java.installations.fromEnv=JAVA_HOME,GRAALVM_HOME' >> gradle.properties
99-
100-
- name: Gradle, do you understand?
101-
uses: gradle/gradle-build-action@v2
102-
with:
103-
arguments: javaToolchains --no-daemon --stacktrace --warning-mode all
104-
105-
- name: Run task nativeCompile
106-
uses: gradle/gradle-build-action@v2
107-
with:
108-
arguments: nativeCompile --no-daemon --stacktrace --warning-mode all
109-
110-
- name: Copy aya Native Image
111-
run: cp ./cli-console/build/native/nativeCompile/aya${{ matrix.binaryExt }} ./${{ env.nativeName }}
112-
113-
- name: Checksum (Native, Unix)
114-
run: shasum -a 256 ./${{ env.nativeName }} > ./${{ env.nativeSha256 }}
115-
if: matrix.os != 'windows-latest'
116-
117-
- name: Checksum (Native, Windows)
118-
run: Get-FileHash ./${{ env.nativeName }} -Algorithm SHA256 > ./${{ env.nativeSha256 }}
119-
if: matrix.os == 'windows-latest'
120-
121-
- name: Test native image
122-
run: ./${{ env.nativeName }} --remake base/src/test/resources/success
123-
124-
- name: Update Release (Native images)
125-
uses: Xotl/cool-github-releases@v1
126-
if: matrix.os != 'ubuntu-latest'
127-
with:
128-
mode: update
129-
isPrerelease: false
130-
tag_name: nightly-build
131-
release_name: "Nightly builds"
132-
body_mrkdwn: |
133-
_These are latest builds, but the date on GitHub is frozen due to stupid limitations.
134-
Corresponding commit: <https://github.com/aya-prover/aya-dev/commit/${{ github.sha }}>_
135-
assets: ${{ env.nativeSha256 }};${{ env.nativeName }}|application/octet-stream
136-
replace_assets: true
137-
github_token: ${{ secrets.GH_TOKEN }}
138-
13981
- name: Collect jlink zip files
14082
if: matrix.os == 'ubuntu-latest'
14183
id: collect_jlinkAyaZip

0 commit comments

Comments
 (0)