-
Notifications
You must be signed in to change notification settings - Fork 64
48 lines (38 loc) · 1.11 KB
/
cwa.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
name: cwa
on:
push:
branches:
- '**'
pull_request:
jobs:
cwa:
runs-on: ${{matrix.os}}
strategy:
matrix:
os: [ubuntu-latest]
python-version: ["3.7", "3.8", "3.9", "3.10"]
steps:
- uses: actions/checkout@v3
- name: Setup Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Setup java
uses: actions/setup-java@v3
with:
distribution: 'zulu'
java-version: '8'
- name: Compile java files
run: |
java -version
javac -cp src/accelerometer/java/JTransforms-3.1-with-dependencies.jar src/accelerometer/java/*.java
- name: Pip install
run: |
python -m pip install --upgrade pip
python -m pip install .
- name: Download necessary files
run: |
wget -P data/ http://gas.ndph.ox.ac.uk/aidend/accModels/sample.cwa.gz --quiet
- name: Processing
run: |
accProcess data/sample.cwa.gz --activityClassification f