mirror of
https://github.com/feather-wallet/feather.git
synced 2024-12-23 03:59:29 +00:00
Actions: add Windows
This commit is contained in:
parent
f0a5cd2ed5
commit
d80b7cba80
1 changed files with 26 additions and 1 deletions
27
.github/workflows/build.yml
vendored
27
.github/workflows/build.yml
vendored
|
@ -51,6 +51,31 @@ jobs:
|
||||||
run: shasum -a256 /home/runner/work/feather/feather/build/feather.AppImage
|
run: shasum -a256 /home/runner/work/feather/feather/build/feather.AppImage
|
||||||
- uses: actions/upload-artifact@v2
|
- uses: actions/upload-artifact@v2
|
||||||
with:
|
with:
|
||||||
name: feather.AppImage
|
name: ${{ github.job }}
|
||||||
path: |
|
path: |
|
||||||
/home/runner/work/feather/feather/build/feather.AppImage
|
/home/runner/work/feather/feather/build/feather.AppImage
|
||||||
|
|
||||||
|
docker-windows-static:
|
||||||
|
runs-on: ubuntu-20.04
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v1
|
||||||
|
with:
|
||||||
|
submodules: recursive
|
||||||
|
- uses: satackey/action-docker-layer-caching@v0.0.11
|
||||||
|
if: "!startsWith(github.ref, 'refs/tags/v')"
|
||||||
|
continue-on-error: true
|
||||||
|
with:
|
||||||
|
key: docker-linux-static-{hash}
|
||||||
|
restore-keys: |
|
||||||
|
docker-linux-static-
|
||||||
|
- name: prepare build environment
|
||||||
|
run: docker build -f Dockerfile.windows --tag feather:win --build-arg THREADS=3 .
|
||||||
|
- name: build
|
||||||
|
run: docker run --rm -v $PWD:/feather -w /feather feather:win sh -c 'make release-static-windows root=/depends target=x86_64-w64-mingw32 tag=win-x64 -j3'
|
||||||
|
- name: sha256sum
|
||||||
|
run: shasum -a256 /home/runner/work/feather/feather/build/release/bin/feather.exe
|
||||||
|
- uses: actions/upload-artifact@v2
|
||||||
|
with:
|
||||||
|
name: ${{ github.job }}
|
||||||
|
path: |
|
||||||
|
/home/runner/work/feather/feather/build/release/bin/feather.exe
|
Loading…
Reference in a new issue