use MLIR #169
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | |