Lines Matching +full:windows +full:- +full:docker +full:- +full:msvc
7 runs-on: ${{ matrix.os }}
9 fail-fast: false
11 os: [macos-latest, ubuntu-latest, windows-latest]
14 - uses: actions/checkout@v2
16 - name: Set up Python
17 uses: actions/setup-python@v2
19 python-version: '3.x'
21 - name: Set up MSVC x86
22 if: matrix.os == 'windows-latest' && matrix.platform == 'x32'
23 uses: ilammy/msvc-dev-cmd@v1
27 - name: Set up MSVC x64
28 if: matrix.os == 'windows-latest' && matrix.platform == 'x64'
29 uses: ilammy/msvc-dev-cmd@v1
31 - name: Install dependencies
35 - name: Build distribution
38 if [ ${{ matrix.platform }} == 'x32' ] && [ ${{ matrix.os }} == 'windows-latest' ]; then
39 cd bindings/python && python setup.py build -p win32 bdist_wheel -p win32
40 elif [ ${{ matrix.platform }} == 'x32' ] && [ ${{ matrix.os }} == 'ubuntu-latest' ]; then
41 docker run --rm -v `pwd`/:/work dockcross/manylinux1-x86 > ./dockcross
44 elif [ ${{ matrix.platform }} == 'x64' ] && [ ${{ matrix.os }} == 'ubuntu-latest' ]; then
45 docker run --rm -v `pwd`/:/work dockcross/manylinux1-x64 > ./dockcross
48 elif [ ${{ matrix.platform }} == 'x32' ] && [ ${{ matrix.os }} == 'macos-latest' ]; then
54 - uses: actions/upload-artifact@v2
60 runs-on: ubuntu-latest
63 - uses: actions/download-artifact@v2
68 - name: Publish distribution to test PyPI
69 uses: pypa/gh-action-pypi-publish@master
75 - name: Publish distribution to PyPI
77 uses: pypa/gh-action-pypi-publish@master