forked from smarr/som-java
-
Notifications
You must be signed in to change notification settings - Fork 6
50 lines (41 loc) · 1.43 KB
/
ci.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
name: Tests
on: [push, pull_request]
jobs:
test_som:
runs-on: ubuntu-20.04 # ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
with:
submodules: true
- name: Tests
run: |
ant test
- name: SomSom Tests
run: |
./som.sh -cp core-lib/Smalltalk:core-lib/TestSuite:core-lib/SomSom/src/compiler:core-lib/SomSom/src/vm:core-lib/SomSom/src/vmobjects:core-lib/SomSom/src/interpreter:core-lib/SomSom/src/primitives \
core-lib/SomSom/tests/SomSomTests.som
- name: CheckStyle
run: |
ant checkstyle
- name: Download Eclipse
run: |
export ECLIPSE_TAR=eclipse.tar.gz
export ECLIPSE_URL=https://www.eclipse.org/downloads/download.php?file=/eclipse/downloads/drops4/R-4.22-202111241800/eclipse-SDK-4.22-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
- name: Checkout AWFY
uses: actions/checkout@v3
with:
repository: smarr/are-we-fast-yet
path: are-we-fast-yet
- name: AWFY Test Run
run: |
pwd
export JAVA_HOME=$JAVA_HOME_8_X64
pip install ReBench
rebench awfy-test.conf