Skip to content

Bump actions/checkout from 3 to 4 (#99) #308

Bump actions/checkout from 3 to 4 (#99)

Bump actions/checkout from 3 to 4 (#99) #308

Workflow file for this run

name: mecab on Linux
on:
pull_request:
paths:
- ".github/workflows/test-linux.yml"
- "mecab/**"
push:
branches:
- main
paths:
- ".github/workflows/test-linux.yml"
- "mecab/**"
jobs:
test:
name: Test with GCC
runs-on: ubuntu-latest
steps:
- run: sudo apt-get install gettext
- uses: actions/checkout@v4
- name: test mecab
run: |
./autogen.sh
./configure
make -j$(nproc)
make check
sudo make install
working-directory: mecab
test-utf8:
name: UTF-8 only mode
runs-on: ubuntu-latest
steps:
- run: sudo apt-get install gettext
- uses: actions/checkout@v4
- name: test mecab
run: |
./autogen.sh
./configure --enable-utf8-only
make -j$(nproc)
make check
sudo make install
working-directory: mecab
test-clang:
name: Test with clang
runs-on: ubuntu-latest
steps:
- run: sudo apt-get install gettext
- uses: actions/checkout@v4
- name: test mecab
run: |
./autogen.sh
./configure
make -j$(nproc)
make check
sudo make install
working-directory: mecab
env:
CC: clang
CXX: clang++