-
Notifications
You must be signed in to change notification settings - Fork 52
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #533 from ChristianMurphy/ci/migrate-to-github-act…
…ions ci: setup github actions
- Loading branch information
Showing
5 changed files
with
52 additions
and
164 deletions.
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,50 @@ | ||
name: CI | ||
on: | ||
push: | ||
branches: | ||
- master | ||
pull_request: | ||
branches: | ||
- master | ||
|
||
jobs: | ||
test: | ||
name: "${{ matrix.platform }} with Java ${{ matrix.java-distribution }} version 8" | ||
strategy: | ||
matrix: | ||
platform: | ||
- ubuntu-latest | ||
- windows-latest | ||
- macos-latest | ||
java-distribution: | ||
- adopt-hotspot | ||
- temurin | ||
- zulu | ||
runs-on: ${{ matrix.platform }} | ||
timeout-minutes: 15 | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v2 | ||
- name: Setup Java | ||
uses: actions/setup-java@v2 | ||
with: | ||
distribution: ${{ matrix.java-distribution }} | ||
java-version: 8 | ||
- name: Build | ||
run: ./gradlew -i -S build | ||
- name: Tomcat Install | ||
run: ./gradlew -i -S tomcatInstall | ||
- name: Start Tomcat | ||
run: ./gradlew -i -S tomcatStart | ||
- name: Stop Tomcat | ||
run: ./gradlew -i -S tomcatStop | ||
- name: Clear Logs Tomcat | ||
run: ./gradlew -i -S tomcatClearLogs | ||
- name: Start Database | ||
run: ./gradlew -i -S hsqlStart | ||
- name: Init Data | ||
run: ./gradlew -i -S dataInit | ||
- name: Stop Database | ||
run: ./gradlew -i -S hsqlStop | ||
- name: Generate Skin | ||
run: ./gradlew -i -S skinGenerate -DskinName=test |
This file was deleted.
Oops, something went wrong.
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 file was deleted.
Oops, something went wrong.
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