This commit is contained in:
blueloveTH 2023-07-16 02:57:41 +08:00
parent 84b05b8cfe
commit 231bc7a056

View File

@ -12,20 +12,12 @@ jobs:
run: | run: |
Invoke-Expression (Invoke-Webrequest 'https://xmake.io/psget.text' -UseBasicParsing).Content Invoke-Expression (Invoke-Webrequest 'https://xmake.io/psget.text' -UseBasicParsing).Content
xmake --version xmake --version
- name: Compile 01 - name: Compile
shell: bash
run: |
mkdir -p output/windows/x86_64 mkdir -p output/windows/x86_64
cd dylib cd dylib
- name: Compile 02 pwsh -Command "xmake f -p windows -a x86_64"
shell: powershell pwsh -Command "xmake"
run: | cp build/windows/x86_64/release/test.dll ../output/windows/x86_64
xmake f -p windows -a x64
xmake
- name: Compile 03
shell: bash
run: |
cp build/windows/x64/release/test.dll ../output/windows/x86_64
- uses: actions/upload-artifact@v3 - uses: actions/upload-artifact@v3
with: with:
path: output path: output