swap NaNs for zeros #835
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build PRs | |
on: | |
pull_request: | |
jobs: | |
docker: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v2 | |
- name: Set Swap Space | |
uses: pierotofy/set-swap-space@master | |
with: | |
swap-size-gb: 12 | |
- name: Set up QEMU | |
uses: docker/setup-qemu-action@v1 | |
- name: Set up Docker Buildx | |
uses: docker/setup-buildx-action@v1 | |
- name: Build | |
uses: docker/build-push-action@v2 | |
with: | |
file: ./portable.Dockerfile | |
platforms: linux/amd64 | |
push: false | |
# snapcraft: | |
# runs-on: ubuntu-latest | |
# strategy: | |
# matrix: | |
# architecture: | |
# - amd64 | |
# steps: | |
# - name: Checkout | |
# uses: actions/checkout@v2 | |
# - name: Set Swap Space | |
# uses: pierotofy/set-swap-space@master | |
# with: | |
# swap-size-gb: 12 | |
# - name: Build | |
# id: build | |
# uses: diddlesnaps/snapcraft-multiarch-action@v1 | |
# with: | |
# architecture: ${{ matrix.architecture }} | |
# - name: Review | |
# uses: diddlesnaps/snapcraft-review-tools-action@v1 | |
# with: | |
# snap: ${{ steps.build.outputs.snap }} | |
# isClassic: 'false' | |
windows: | |
runs-on: windows-2019 | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v2 | |
- name: Setup Python | |
uses: actions/setup-python@v2 | |
with: | |
python-version: '3.8.1' | |
architecture: 'x64' | |
- uses: Jimver/[email protected] | |
id: cuda-toolkit | |
with: | |
cuda: '11.4.0' | |
- name: Setup cmake | |
uses: jwlawson/[email protected] | |
with: | |
cmake-version: '3.24.x' | |
- name: Install venv | |
run: | | |
python -m pip install virtualenv | |
- name: Build sources | |
run: | | |
python configure.py build | |
- name: Free up space | |
run: | | |
rmdir SuperBuild\download /s /q | |
rmdir SuperBuild\build /s /q | |
shell: cmd | |
- name: Create setup | |
run: | | |
python configure.py dist | |
- name: Upload Setup File | |
uses: actions/upload-artifact@v2 | |
with: | |
name: Setup | |
path: dist\*.exe |