Skip to content

Commit

Permalink
add github actions.
Browse files Browse the repository at this point in the history
  • Loading branch information
csukuangfj committed Dec 30, 2020
1 parent 30805d0 commit e02070a
Showing 1 changed file with 32 additions and 0 deletions.
32 changes: 32 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: build

on:
push:
branches:
- master
pull_request:
branches:
- master

jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2

- name: Setup Python
uses: actions/setup-python@v2
with:
python-version: 3.6

- name: Build
shell: bash
run: |
mkdir build
cd build
cmake ..
make -j
ls -l lib
ls -l bin
./bin/arpa_file_parser_test
./bin/arpa_lm_compiler_test

0 comments on commit e02070a

Please sign in to comment.