GitHub Actions: Artifact uploads added

master
Syping 1 year ago
parent 6d71d480b7
commit 9132f92410
  1. 9
      .github/workflows/ubuntu.yml
  2. 7
      .github/workflows/webassembly.yml
  3. 14
      .github/workflows/windows.yml

@ -26,3 +26,12 @@ jobs:
run: cmake --build ${{github.workspace}}/build --config ${{env.BUILD_TYPE}}
- name: Install
run: sudo cmake --install ${{github.workspace}}/build --config ${{env.BUILD_TYPE}}
- name: Upload
uses: actions/upload-artifact@v2
with:
name: Ubuntu
path: |
/usr/local/bin/ragephoto-extract
/usr/local/lib/libragephoto.so
/usr/local/lib/pkgconfig/ragephoto.pc
/usr/local/include/RagePhoto/

@ -26,3 +26,10 @@ jobs:
run: emcmake cmake -B ${{github.workspace}}/build -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}} -GNinja
- name: Build
run: cmake --build ${{github.workspace}}/build --config ${{env.BUILD_TYPE}}
- name: Upload
uses: actions/upload-artifact@v2
with:
name: WebAssembly
path: |
${{github.workspace}}/build/libragephoto.js
${{github.workspace}}/build/libragephoto.wasm

@ -21,3 +21,17 @@ jobs:
run: cmake -B ${{github.workspace}}/build -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}} -GNinja
- name: Build
run: cmake --build ${{github.workspace}}/build --config ${{env.BUILD_TYPE}}
- name: Install
run: cmake --install ${{github.workspace}}/build --config ${{env.BUILD_TYPE}} --prefix ${{github.workspace}}/build
- name: Upload
uses: actions/upload-artifact@v2
with:
name: Windows MSVC
path: |
${{github.workspace}}/build/libragephoto.dll
${{github.workspace}}/build/libragephoto.dll.manifest
${{github.workspace}}/build/ragephoto.exp
${{github.workspace}}/build/ragephoto.lib
${{github.workspace}}/build/ragephoto-extract.exe
${{github.workspace}}/build/ragephoto-extract.exe.manifest
${{github.workspace}}/build/include/RagePhoto/

Loading…
Cancel
Save