Minor cleanup #90
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
# This workflow will build a Java project with Gradle | |
# For more information see: https://help.github.com/actions/language-and-framework-guides/building-and-testing-java-with-gradle | |
# Use GitHub Actions CI to verify successful Gradle builds on: | |
# - Java 8 (LTS) | |
# - Java 11 (LTS) | |
# - Java 15 (deprecated) | |
# - Java 16 (deprecated) | |
# - Java 17 (LTS; officially supported since Gradle 7.3) | |
# - Java 18 (deprecated; officially supported since Gradle 7.5) | |
# - Java 19 (deprecated; officially supported since Gradle 7.6) | |
# - Java 20 (deprecated; officially supported since Gradle 8.1) | |
# - Java 21 (latest LTS; officially supported since Gradle 8.4) | |
# - Java 22 (deprecated; officially supported since Gradle 8.8) | |
# - Java 23 (current; to be deprecated in March 2025; officially supported since Gradle 8.10) | |
# - Java 24 (to be released in March 2025; to be deprecated in September 2025; not officially supported by Gradle) | |
# - Java 25 (LTS; to be released in September 2025; not officially supported by Gradle) | |
name: CS321_Cybersecurity CI with Gradle | |
on: | |
push: | |
branches: [ master ] | |
pull_request: | |
branches: [ master ] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
java: [ '8', '11', '15', '16', '17', '18', '19', '20', '21', '22', '23' ] | |
name: Java version ${{ matrix.Java }} | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Set up JDK ${{ matrix.Java }} | |
uses: actions/setup-java@v3 | |
with: | |
java-version: ${{ matrix.java }} | |
# the distribution can be either 'adopt' or 'zulu' | |
distribution: 'zulu' | |
- name: Grant execute permission for gradlew | |
run: chmod +x gradlew | |
# Skip running tests, as this startup code intentionally | |
# contains failing tests that are used as templates. | |
# | |
# For your team, you can enable running these tests | |
# by uncommenting the next two lines | |
# - name: Run all jUnit tests with Gradle | |
# run: ./gradlew test | |
- name: Create jar SSHDataWrangler with Gradle | |
run: ./gradlew createJarSSHDataWrangler | |
- name: Create jar SSHCreateBTree with Gradle | |
run: ./gradlew createJarSSHCreateBTree | |
- name: Create jar SSHSearchBTree with Gradle | |
run: ./gradlew createJarSSHSearchBTree | |
- name: Create jar SSHSearchDatabase with Gradle | |
run: ./gradlew createJarSSHSearchDatabase |