File tree Expand file tree Collapse file tree 4 files changed +20
-4
lines changed
Expand file tree Collapse file tree 4 files changed +20
-4
lines changed Original file line number Diff line number Diff line change 1616 include :
1717 - os : macos-12
1818 - os : macos-13
19+ - os : macos-14
1920 runs-on : ${{ matrix.os }}
2021
2122 steps :
Original file line number Diff line number Diff line change @@ -40,12 +40,27 @@ jobs:
4040 git submodule update
4141 shell : pwsh
4242
43+ - name : Get latest release tag
44+ id : get_latest_release
45+ run : |
46+ $response = Invoke-RestMethod -Uri "https://api.github.com/repos/libxengine/libxengine/releases/latest" -Headers @{"Accept"="application/vnd.github.v3+json"}
47+ $latest_tag = $response.tag_name
48+ Write-Output "Latest tag is $latest_tag"
49+ echo "::set-output name=tag::$latest_tag"
50+ shell : pwsh
4351 # 设置依赖库的环境变量
4452 - name : Set up Dependency Environment Variables
4553 run : |
54+ $latest_tag = "${{ steps.get_latest_release.outputs.tag }}"
55+ $url = "https://github.com/libxengine/libxengine/releases/download/$latest_tag/XEngine_Windows_x86-32.zip"
56+ Invoke-WebRequest -Uri $url
57+ Expand-Archive -Path XEngine_Windows_x86-32.zip -DestinationPath XEngine_Windows_x86-32 -Force
58+ cd XEngine_Windows_x86-32
59+ echo y | ./XEngine_WINEnv32.bat
60+
4661 echo "XENGINE_INCLUDE=${{ github.workspace }}/xengine" | Out-File -FilePath $env:GITHUB_ENV -Append
47- echo "XENGINE_LIB32=${{ github.workspace }}/xengine/XEngine_Windows/x86 " | Out-File -FilePath $env:GITHUB_ENV -Append
48- echo "XENGINE_LIB64=${{ github.workspace }}/xengine/XEngine_Windows/x64 " | Out-File -FilePath $env:GITHUB_ENV -Append
62+ echo "XENGINE_LIB32=${{ github.workspace }}/xengine/XEngine_Windows_x86-32 " | Out-File -FilePath $env:GITHUB_ENV -Append
63+ echo "XENGINE_LIB64=${{ github.workspace }}/xengine/XEngine_Windows" | Out-File -FilePath $env:GITHUB_ENV -Append
4964 shell : pwsh
5065
5166 # 配置 MSBuild 的路径,准备构建 VC++ 项目
Original file line number Diff line number Diff line change @@ -23,7 +23,7 @@ support feature list:
2323## install
2424
2525#### XEngine Evn
26- you must install XEngine,need V8.25 or above,install XEngine can be refer to xengine Readme docment
26+ you must install XEngine,need V9 or above,install XEngine can be refer to xengine Readme docment
2727GITEE:https://gitee.com/libxengine/libxengine
2828GITHUB:https://github.com/libxengine/libxengine
2929
Original file line number Diff line number Diff line change @@ -23,7 +23,7 @@ c c++ network backend server development framework
2323## 安装教程
2424
2525#### XEngine环境
26- 必须安装XEngine,版本需要V8.25或者以上版本 ,安装XEngine可以参考其Readme文档
26+ 必须安装XEngine,版本需要V9或者以上版本 ,安装XEngine可以参考其Readme文档
2727GITEE:https://gitee.com/libxengine/libxengine
2828GITHUB:https://github.com/libxengine/libxengine
2929
You can’t perform that action at this time.
0 commit comments