Skip to content

Update README.md

Update README.md #16

Workflow file for this run

name: build
on: push
jobs:
# Windows 平台编译
windows:
runs-on: windows-latest
steps:
- uses: actions/checkout@v2
# 安装MSVC环境
- name: "Insatll MSVC"
uses: microsoft/[email protected]
# 编译构建
- name: "Build tolua for Windows"
run: |
.\build_win32.sh
.\build_win64.sh
- uses: ilammy/msvc-dev-cmd@v1
# 上传编译结果
- name: "Upload tolua for Windows"
uses: actions/upload-artifact@v2
with:
path: |
./Plugins/x86/*
./Plugins/x86_64/*
name: tolua_pb
# linux平台编译
linux:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: "Buind tolua for Linux"
run: |
./build_ubuntu.sh
# 上传编译结果
- name: "Upload tolua for Linux"
uses: actions/upload-artifact@v2
with:
path: |
./Plugins/ubuntu/*
name: tolua_pb
# Mac平台编译 Github只提供了10.15
osx:
runs-on: macos-10.15
steps:
- uses: actions/checkout@v2
- uses: maxim-lobanov/setup-xcode@v1
with:
xcode-version: '10.3.0'
- name: "Buind tolua for MacOS"
run: |
./build_osx.sh
# 上传编译结果
- name: "Upload tolua for MacOS"
uses: actions/upload-artifact@v2
with:
path: |
./Plugins/tolua.bundle/*
name: tolua_pb
# iOS平台编译 Github只提供了10.15
ios:
runs-on: macos-10.15
steps:
- uses: actions/checkout@v2
- uses: maxim-lobanov/setup-xcode@v1
with:
xcode-version: '10.3.0'
- name: "Buind tolua for iOS"
run: |
./build_ios.sh
# 上传编译结果
- name: "Upload tolua for iOS"
uses: actions/upload-artifact@v2
with:
path: |
./Plugins/iOS/*
name: tolua_pb