-
Notifications
You must be signed in to change notification settings - Fork 60
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Make sure executable ends with
.exe
under Windows
This commit fixes the executable name when the plugin is running under Windows: `nativeRun` would fail because it doesn't append the `.exe` extension to the file name. Fixes #198
- Loading branch information
Showing
2 changed files
with
36 additions
and
1 deletion.
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,34 @@ | ||
name: Windows Minimal Tests | ||
|
||
on: | ||
push: | ||
paths: | ||
- 'native-gradle-plugin/**' | ||
- 'samples/**' | ||
- 'common/**' | ||
pull_request: | ||
paths: | ||
- 'native-gradle-plugin/**' | ||
- 'samples/**' | ||
- 'common/**' | ||
workflow_dispatch: | ||
|
||
jobs: | ||
build: | ||
runs-on: windows-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: graalvm/setup-graalvm@v1 | ||
with: | ||
version: 'dev' | ||
java-version: '11' | ||
components: 'native-image' | ||
github-token: ${{ secrets.GITHUB_TOKEN }} | ||
- name: Check and test the Gradle plugin | ||
run: ./gradlew.bat :native-gradle-plugin:functionalTest --no-daemon | ||
- name: Tests results | ||
if: always() | ||
uses: actions/upload-artifact@v2 | ||
with: | ||
name: functional-tests-results-${{ matrix.gradle-version }} | ||
path: native-maven-plugin/build/reports/tests/ |
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