diff --git a/.github/workflows/build_library.yml b/.github/workflows/build_library.yml index f2fa321..2bd4b1d 100644 --- a/.github/workflows/build_library.yml +++ b/.github/workflows/build_library.yml @@ -1,4 +1,4 @@ -name: Build Installer +name: Loris Library Build on: workflow_dispatch: #push: @@ -7,6 +7,26 @@ on: #tags: # - '*' jobs: + build_loris_library_win: + runs-on: [self-hosted, windows] + steps: + - name: Cleanup working directory + working-directory: ${{ github.workspace }} + run: del *.* /Q /S + shell: cmd + - name: Checkout Loris repository + uses: actions/checkout@v1 + with: + ref: 'main' + - name: Build Loris + working-directory: ${{ github.workspace }} + run: build_library.bat + shell: cmd + - name: Upload Installer + uses: actions/upload-artifact@v2 + with: + name: loris_library_win64 + path: ${{ github.workspace }}/*.zip build_loris_library_macos: runs-on: [self-hosted, macos] steps: @@ -22,5 +42,5 @@ jobs: - name: Upload Installer uses: actions/upload-artifact@v2 with: - name: Loris Dynamic Library macOS + name: loris_library_macOS path: ${{ github.workspace }}/*.zip