Skip to content

使用更好的结构重构代码 #14

使用更好的结构重构代码

使用更好的结构重构代码 #14

Workflow file for this run

name: macos-build-x86_64
on: [push, pull_request]
jobs:
build-macos:
strategy:
fail-fast: false
matrix:
arch: [ x86_64 ]
name: build-macos-${{ matrix.arch }}
runs-on: macos-12
steps:
- uses: actions/checkout@v2
with:
lfs: 'true'
- uses: xmake-io/github-action-setup-xmake@v1
with:
xmake-version: latest
- name: Set env
id: env
run: |
xmake g -c
xmake l setup.lua
- name: Shipping
run: |
xmake f -m release -y --policies=build.ccache:n --arch=${{ matrix.arch }}
xmake -y -v
- name: UploadShipping
uses: actions/upload-artifact@v3
with:
name: artifacts-${{ matrix.arch }}
path: build