-
-
Notifications
You must be signed in to change notification settings - Fork 49
42 lines (39 loc) · 1.32 KB
/
ppc64le_centos7.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
name: PPC64LE-Centos7
on:
pull_request:
branches: [ main ]
jobs:
build-centos:
name: PPC64LE-Centos7
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
submodules: true
lfs: true
- uses: bab2min/run-on-arch-action@use-custom-image
id: runcmd
with:
image: quay.io/pypa/manylinux2014_ppc64le
githubToken: ${{ github.token }}
setup: |
mkdir -p "${PWD}/artifacts"
dockerRunArgs: |
--volume "${PWD}/artifacts:/artifacts"
run: |
yum install java-1.8.0-openjdk-devel -y
mkdir build && pushd build && cmake -DCMAKE_BUILD_TYPE=Release -DKIWI_USE_MIMALLOC=0 -DKIWI_JAVA_BINDING=1 ..
make -j2 && popd
./build/test/kiwi-test
mkdir eval_results && ./build/kiwi-evaluator -m ./ModelGenerator eval_data/*.txt -o eval_results/ && ./build/kiwi-evaluator -m ./ModelGenerator eval_data/*.txt --sbg -o eval_results/
cp -r build /artifacts/
cp -r eval_results /artifacts/
- name: Archive binaries
uses: actions/upload-artifact@v4
with:
name: Artifacts ${{ matrix.name }}
path: |
artifacts/build/*kiwi*
artifacts/build/test/*kiwi*
artifacts/eval_results/*.txt
artifacts/build/binding/java/*.jar