Skip to content

add python cli

add python cli #24

Workflow file for this run

name: Build
on:
pull_request:
branches: [main]
push:
tags: ['*']
env:
LIBICU: libicu70
jobs:
build-c:
strategy:
matrix:
BUILD_TYPE: [Debug, Release]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install ICU
run: |
# sudo apt-get update -y
sudo apt-get install -y libicu-dev ${{env.LIBICU}}
- name: Configure CMake
run: cmake -B ${{github.workspace}}/build -DCMAKE_BUILD_TYPE=${{matrix.BUILD_TYPE}}
- name: Build
run: cmake --build ${{github.workspace}}/build --config ${{matrix.BUILD_TYPE}}
- name: Test
working-directory: ${{github.workspace}}/build
run: ctest -C ${{matrix.BUILD_TYPE}}
build-py:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Test
working-directory: ${{github.workspace}}/python
run: make test
build-swift:
strategy:
matrix:
BUILD_TYPE: [debug, release]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install ICU
run: |
sudo apt-get install -y libicu-dev ${{env.LIBICU}}
- name: Build
run: swift build -c ${{matrix.BUILD_TYPE}}
- name: Test
run: swift test -c ${{matrix.BUILD_TYPE}}