forked from smarr/som-java
-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge PR #26: Move to GitHub Actions for CI
- Loading branch information
Showing
3 changed files
with
40 additions
and
20 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,33 @@ | ||
name: Tests | ||
|
||
on: [push, pull_request] | ||
|
||
jobs: | ||
test_som: | ||
runs-on: ubuntu-20.04 # ubuntu-latest | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v2 | ||
with: | ||
submodules: true | ||
|
||
- name: Tests | ||
run: | | ||
ant test | ||
- name: CheckStyle | ||
run: | | ||
ant checkstyle | ||
- name: Download Eclipse | ||
run: | | ||
export ECLIPSE_TAR=eclipse.tar.gz | ||
export ECLIPSE_URL=https://ftp.halifax.rwth-aachen.de/eclipse/eclipse/downloads/drops4/R-4.17-202009021800/eclipse-SDK-4.17-linux-gtk-x86_64.tar.gz | ||
wget ${ECLIPSE_URL} -O ${ECLIPSE_TAR} | ||
tar -C ${GITHUB_WORKSPACE}/.. -xzf ${ECLIPSE_TAR} | ||
- name: Check Eclipse Format | ||
run: | | ||
export ECLIPSE_EXE=${GITHUB_WORKSPACE}/../eclipse/eclipse | ||
ant eclipseformat |
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