workflows: add static docker build

This commit is contained in:
selsta 2020-09-24 04:40:31 +02:00
parent 98ce87a572
commit 839167aff5
No known key found for this signature in database
GPG key ID: 2EA0A99A8B07AE5E

View file

@ -57,3 +57,25 @@ jobs:
run: USE_SINGLE_BUILDDIR=ON DEV_MODE=ON make release-win64 -j2 run: USE_SINGLE_BUILDDIR=ON DEV_MODE=ON make release-win64 -j2
- name: test qml - name: test qml
run: build/release/bin/monero-wallet-gui --test-qml run: build/release/bin/monero-wallet-gui --test-qml
docker-linux-static:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v1
with:
submodules: recursive
- name: preprare build enviroment
run: docker build --tag monero:build-env-linux --build-arg THREADS=3 --file Dockerfile.linux .
- name: build
run: docker run --rm -v /home/runner/work/monero-gui/monero-gui:/monero-gui -w /monero-gui monero:build-env-linux sh -c 'USE_SINGLE_BUILDDIR=ON make release-static -j3'
docker-windows-static:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v1
with:
submodules: recursive
- name: preprare build enviroment
run: docker build --tag monero:build-env-windows --build-arg THREADS=3 --file Dockerfile.windows .
- name: build
run: docker run --rm -v /home/runner/work/monero-gui/monero-gui:/monero-gui -w /monero-gui monero:build-env-windows sh -c 'make depends root=/depends target=x86_64-w64-mingw32 tag=win-x64 -j3'