|
|
@@ -8,16 +8,23 @@ jobs:
|
|
|
- uses: actions/checkout@v3
|
|
|
- uses: ilammy/msvc-dev-cmd@v1
|
|
|
- name: Install xmake
|
|
|
+ shell: powershell
|
|
|
run: |
|
|
|
- winget install xmake
|
|
|
+ Invoke-Expression (Invoke-Webrequest 'https://xmake.io/psget.text' -UseBasicParsing).Content
|
|
|
xmake --version
|
|
|
- - name: Compile
|
|
|
+ - name: Compile 01
|
|
|
shell: bash
|
|
|
run: |
|
|
|
mkdir -p output/windows/x86_64
|
|
|
cd dylib
|
|
|
+ - name: Compile 02
|
|
|
+ shell: powershell
|
|
|
+ run: |
|
|
|
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
|
|
|
with:
|