Fixing parser slowdown for "nested" generic types #447
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, IntelliJ-Haxe-plugin | |
on: | |
push: | |
branches: | |
- 'master' | |
- 'develop' | |
- 'feature/*' | |
pull_request: | |
branches: | |
- 'master' | |
- 'develop' | |
- 'feature/*' | |
jobs: | |
Build: | |
strategy: | |
fail-fast: false # set this to true if you want to cancel all builds if one fails. | |
matrix: | |
IDEA_VERSION: [2023.2] | |
OS: [macOS-latest, ubuntu-latest, windows-latest] | |
runs-on: ${{ matrix.OS }} | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Set up JDK 17 | |
uses: actions/setup-java@v3 | |
with: | |
distribution: 'zulu' | |
java-version: 17 | |
architecture: x64 | |
- name: Set up Haxe | |
uses: krdlab/setup-haxe@v1 | |
with: | |
haxe-version: 4.3.0 | |
- name: Test haxe | |
run: haxe -version | |
- name: Cache Gradle packages | |
uses: actions/cache@v3 | |
with: | |
path: ~/.gradle/caches | |
key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle') }} | |
restore-keys: ${{ runner.os }}-gradle | |
- name: Cache intelliJ downloads | |
uses: actions/cache@v3 | |
with: | |
path: $GITHUB_WORKSPACE/idea | |
key: ${{ matrix.IDEA_VERSION }}-idea-${{ hashFiles('ideaIU-${{ matrix.IDEA_VERSION }}/**') }} | |
restore-keys: ${{ matrix.IDEA_VERSION }}-idea | |
- name: Build with Gradle (windows) | |
if: ${{ matrix.os == 'windows-latest'}} | |
run: .\gradlew.bat clean test buildPlugin verifyPlugin | |
- name: Build with Gradle (linux/mac) | |
if: ${{ matrix.os != 'windows-latest'}} | |
run: ./gradlew clean test buildPlugin verifyPlugin | |