-
Notifications
You must be signed in to change notification settings - Fork 255
62 lines (58 loc) · 1.52 KB
/
push-x86.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
51
52
53
54
55
56
57
58
59
60
61
62
on: [push, pull_request]
name: Continuous Integration (x86)
jobs:
Tests:
name: base
runs-on: ubuntu-latest
strategy:
matrix:
python:
- '3.8'
- '3.9'
- '3.10'
- '3.11'
container:
image: i386/python:${{ matrix.python }}-buster
steps:
- name: info
run: |
linux32 sh -ec '
cat /etc/*release || true
uname -a
git version
python --version
'
- name: checkout
run: |
linux32 sh -ec '
git config --global --add safe.directory '*'
git init .
git remote add origin https://github.com/$GITHUB_REPOSITORY
git config --local gc.auto 0
git fetch --no-tags --prune --progress --no-recurse-submodules \
--depth=1 origin +$GITHUB_SHA:refs/remotes/origin/${GITHUB_REF##*/}
git checkout --progress --force -B ${GITHUB_REF##*/} \
refs/remotes/origin/${GITHUB_REF##*/}
git log -1 --format=%H
'
- name: setup java
run: |
linux32 sh -ec '
apt update
apt install -y openjdk-11-jdk-headless ant
java -version
'
env:
DEBIAN_FRONTEND: noninteractive
- name: install
run: |
linux32 sh -ec '
pip install --timeout=120 .[dev,ci]
'
- name: test
run: |
linux32 sh -ec '
ant all
cd tests
CLASSPATH=../build/test-classes:../build/classes pytest -v
'