Skip to content

Add java

Add java #13

Workflow file for this run

name: Build
on:
push:
branches: [ "master" ]
tags:
- "release-*"
pull_request:
branches: [ "master" ]
jobs:
build:
runs-on: windows-latest
strategy:
matrix:
arch:
- x64
- x86
steps:
- uses: actions/checkout@v3
- uses: ilammy/msvc-dev-cmd@v1
with:
arch: ${{ matrix.arch }}
- name: Build
run: nmake -f Makefile.${{ matrix.arch }}.msvc.in
working-directory: ${{ github.workspace }}/src
- name: 7z
run: 7z a mecab-ko-msvc-${{ matrix.arch }}.zip *.dll *.exe *.lib mecab.h
working-directory: ${{ github.workspace }}/src
- name: Upload a Build Artifact
uses: actions/upload-artifact@v3
with:
path: src/mecab-ko-msvc-${{ matrix.arch }}.zip
- name: Release Artifact
uses: softprops/action-gh-release@v1
if: startsWith(github.ref, 'refs/tags/')
with:
files: src/mecab-ko-msvc-${{ matrix.arch }}.zip