-
Notifications
You must be signed in to change notification settings - Fork 27
43 lines (41 loc) · 1.05 KB
/
Test.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
name: "Test"
on:
push:
branches: [ "master" ]
pull_request:
# The branches below must be a subset of the branches above
branches: [ "master" ]
jobs:
nativeLinux:
name: Native Linux Test
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: '3.10'
cache: 'pip' # caching pip dependencies
- name: Install dependencies
run: |
python -m pip install --upgrade pip
python -m pip install -r requirements.txt
- name: Run simple test
run: |
cd TestSrc
make CC=gcc LDFLAGS=
python ../WCS.py
arm:
name: Arm cross compilation Test
runs-on: ubuntu-latest
container: dockcross/linux-armv7
steps:
- uses: actions/checkout@v4
- name: Install dependencies
run: |
python -m pip install --upgrade pip
python -m pip install -r requirements.txt
- name: Run simple test
run: |
cd TestSrc
make CC=${CC} LDFLAGS=
python ../WCS.py