This commit is contained in:
blueloveTH 2023-07-16 02:55:46 +08:00
parent 79caec1355
commit 84b05b8cfe

View File

@ -8,16 +8,23 @@ jobs:
- uses: actions/checkout@v3 - uses: actions/checkout@v3
- uses: ilammy/msvc-dev-cmd@v1 - uses: ilammy/msvc-dev-cmd@v1
- name: Install xmake - name: Install xmake
shell: powershell
run: | run: |
winget install xmake Invoke-Expression (Invoke-Webrequest 'https://xmake.io/psget.text' -UseBasicParsing).Content
xmake --version xmake --version
- name: Compile - name: Compile 01
shell: bash shell: bash
run: | run: |
mkdir -p output/windows/x86_64 mkdir -p output/windows/x86_64
cd dylib cd dylib
- name: Compile 02
shell: powershell
run: |
xmake f -p windows -a x64 xmake f -p windows -a x64
xmake xmake
- name: Compile 03
shell: bash
run: |
cp build/windows/x64/release/test.dll ../output/windows/x86_64 cp build/windows/x64/release/test.dll ../output/windows/x86_64
- uses: actions/upload-artifact@v3 - uses: actions/upload-artifact@v3
with: with: