try to see if changin the os affects #6
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
name: build fast | |
on: | |
push: | |
branches: | |
- main | |
- deploy-to-scijava | |
tags: | |
- "*-[0-9]+.*" | |
pull_request: | |
branches: | |
- main | |
env: | |
opencl-icd-loader-git-tag: v2023.04.17 | |
opencl-headers-git-tag: v2023.04.17 | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up JDK 8 | |
uses: actions/setup-java@v4 | |
with: | |
java-version: "8" | |
distribution: zulu | |
cache: maven | |
- name: Check secrets are set | |
run: | | |
if [ -z "$GPG_KEY_NAME" ]; then echo "GPG_KEY_NAME is not set"; fi | |
if [ -z "$GPG_PASSPHRASE" ]; then echo "GPG_PASSPHRASE is not set"; fi | |
if [ -z "$MAVEN_USER" ]; then echo "MAVEN_USER is not set"; fi | |
if [ -z "$MAVEN_PASS" ]; then echo "MAVEN_PASS is not set"; fi | |
if [ -z "$OSSRH_PASS" ]; then echo "OSSRH_PASS is not set"; fi | |
if [ -z "$SIGNING_ASC" ]; then echo "SIGNING_ASC is not set"; fi | |
- name: Set up CI environment | |
run: .github/setup.sh | |
- name: Execute the build | |
run: .github/build.sh | |
env: | |
GPG_KEY_NAME: ${{ secrets.GPG_KEY_NAME }} | |
GPG_PASSPHRASE: ${{ secrets.GPG_PASSPHRASE }} | |
MAVEN_USER: ${{ secrets.MAVEN_USER }} | |
MAVEN_PASS: ${{ secrets.MAVEN_PASS }} | |
OSSRH_PASS: ${{ secrets.OSSRH_PASS }} | |
SIGNING_ASC: ${{ secrets.SIGNING_ASC }} |