Skip to content

[language binding] add c-api and java-api #183

[language binding] add c-api and java-api

[language binding] add c-api and java-api #183

Workflow file for this run

name: Windows (xmake)
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
build_with_xmake_on_windows:
runs-on: windows-2022
strategy:
matrix:
mode: [ Debug, Release ]
arch: [ x64 ]
# ICU4C is not supported on x86
# arch: [ x86, x64 ]
steps:
- uses: actions/checkout@v3
- name: Enable Developer Command Prompt
uses: ilammy/[email protected]
with:
arch: ${{ matrix.arch }}
- name: cache xmake
uses: actions/cache@v2
with:
path: |
${{github.workspace}}/build/.build_cache
C:\Users\runneradmin\AppData\Local\.xmake
key: ${{ runner.os }}-xmake-${{ hashFiles('**/xmake.lua') }}
- uses: xmake-io/github-action-setup-xmake@v1
with:
xmake-version: v2.8.2
actions-cache-folder: '.xmake-cache'
- name: Build
run: |
xmake config -vD --yes --mode=${{matrix.mode}} --arch=${{matrix.arch}}
xmake build --jobs=8
- name: Test
run: xmake run --group=tests