SB 태그 오류 수정 #189
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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@v2 | |
with: | |
name: Artifacts ${{ matrix.name }} | |
path: | | |
artifacts/build/*kiwi* | |
artifacts/build/test/*kiwi* | |
artifacts/eval_results/*.txt | |
artifacts/build/binding/java/*.jar |