mirror of
https://github.com/eosswedenorg/eosio-keygen-extras
synced 2026-08-23 20:18:12 +02:00
Merge remote-tracking branch 'origin/windows-installer'
This commit is contained in:
commit
983fbbd922
2 changed files with 24 additions and 1 deletions
24
.github/workflows/package.yml
vendored
24
.github/workflows/package.yml
vendored
|
|
@ -8,7 +8,7 @@ on:
|
||||||
jobs:
|
jobs:
|
||||||
# Debian package
|
# Debian package
|
||||||
ubuntu:
|
ubuntu:
|
||||||
name: Package
|
name: Package (Debian)
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v1
|
- uses: actions/checkout@v1
|
||||||
|
|
@ -29,3 +29,25 @@ jobs:
|
||||||
if: startsWith(github.ref, 'refs/tags/')
|
if: startsWith(github.ref, 'refs/tags/')
|
||||||
with:
|
with:
|
||||||
files: ${{ steps.package.outputs.ASSETS }}
|
files: ${{ steps.package.outputs.ASSETS }}
|
||||||
|
|
||||||
|
windows:
|
||||||
|
name: Package (Windows)
|
||||||
|
runs-on: windows-latest
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v1
|
||||||
|
|
||||||
|
- name: Configure
|
||||||
|
run: cmake --no-warn-unused-cli -G Ninja -B build -DCPACK_GENERATOR=NSIS -DCMAKE_BUILD_TYPE=Release .
|
||||||
|
|
||||||
|
- name: Package
|
||||||
|
id: package
|
||||||
|
shell: bash
|
||||||
|
run: |
|
||||||
|
cmake --build build --target package
|
||||||
|
echo ASSET=$(ls -1 build/*.exe) >> $GITHUB_OUTPUT
|
||||||
|
|
||||||
|
- name: Release
|
||||||
|
uses: softprops/action-gh-release@v1
|
||||||
|
if: startsWith(github.ref, 'refs/tags/')
|
||||||
|
with:
|
||||||
|
files: ${{ steps.package.outputs.ASSET }}
|
||||||
|
|
|
||||||
|
|
@ -42,6 +42,7 @@ endforeach(dict ${dictionaries})
|
||||||
set( CPACK_PACKAGE_FILE_NAME "${PROJECT_NAME}-${PROJECT_VERSION}")
|
set( CPACK_PACKAGE_FILE_NAME "${PROJECT_NAME}-${PROJECT_VERSION}")
|
||||||
set( CPACK_PACKAGE_CONTACT ${PROJECT_MAINTAINER} )
|
set( CPACK_PACKAGE_CONTACT ${PROJECT_MAINTAINER} )
|
||||||
set( CPACK_PACKAGE_VENDOR "Sw/eden" )
|
set( CPACK_PACKAGE_VENDOR "Sw/eden" )
|
||||||
|
set( CPACK_PACKAGE_INSTALL_DIRECTORY "${PROJECT_NAME}")
|
||||||
|
|
||||||
# Archive specific
|
# Archive specific
|
||||||
set( CPACK_ARCHIVE_COMPONENT_INSTALL TRUE )
|
set( CPACK_ARCHIVE_COMPONENT_INSTALL TRUE )
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue