-
Notifications
You must be signed in to change notification settings - Fork 3.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1703 from ekxs0109/master
添加Arm64EC编译配置
- Loading branch information
Showing
7 changed files
with
459 additions
and
3 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,7 @@ | ||
name: Release CI | ||
on: push | ||
jobs: | ||
|
||
x64_build: | ||
runs-on: windows-latest | ||
|
||
|
@@ -67,6 +68,41 @@ jobs: | |
name: x86_${{ steps.current-time.outputs.formattedTime }}_pdb | ||
path: Bin/Release/*.pdb | ||
|
||
arm64ec_build: | ||
runs-on: windows-latest | ||
|
||
steps: | ||
- uses: actions/checkout@v3 | ||
|
||
- name: Add msbuild to PATH | ||
uses: microsoft/[email protected] | ||
|
||
- name: Run msbuild | ||
run: msbuild -p:configuration=release -p:platform=ARM64EC -p:platformToolset=v143 | ||
|
||
- name: Get current time | ||
uses: josStorer/[email protected] | ||
id: current-time | ||
with: | ||
format: YYYYMMDD_HHmmss | ||
utcOffset: "+08:00" | ||
|
||
- name: Move dll file path | ||
run: mv Bin/x64/Release/*.dll Bin/ARM64EC/Release/ | ||
|
||
- name : Upload artifact | ||
uses: actions/upload-artifact@v3 | ||
with: | ||
name: arm64EC_${{ steps.current-time.outputs.formattedTime }}_TrafficMonitor | ||
path: | | ||
Bin/ARM64EC/Release/TrafficMonitor.exe | ||
Bin/ARM64EC/Release/*.dll | ||
- name : Upload pdb files | ||
uses: actions/upload-artifact@v3 | ||
with: | ||
name: arm64EC_${{ steps.current-time.outputs.formattedTime }}_pdb | ||
path: Bin/ARM64EC/Release/*.pdb | ||
# winXP_build: | ||
# runs-on: windows-latest | ||
|
||
|
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
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
Oops, something went wrong.