From e3fcaee329186cb0b1ec95d25a8086ddbbb9d886 Mon Sep 17 00:00:00 2001 From: texzone Date: Sun, 20 Jun 2021 20:26:30 -0400 Subject: [PATCH 1/4] include all OSs --- .github/workflows/build_wheels.yml | 30 ++++++++++++------------------ 1 file changed, 12 insertions(+), 18 deletions(-) diff --git a/.github/workflows/build_wheels.yml b/.github/workflows/build_wheels.yml index a648552c..4a84915f 100644 --- a/.github/workflows/build_wheels.yml +++ b/.github/workflows/build_wheels.yml @@ -2,31 +2,25 @@ name: Build on: [push, pull_request] - jobs: build_wheels: - name: Build wheels on ubuntu-20.04 - runs-on: ubuntu-20.04 -# strategy: -# matrix: -# os: [ubuntu-20.04, windows-2019, macos-10.15] + name: Build wheels on ${{ matrix.os }} + runs-on: ${{ matrix.os }} + strategy: + matrix: + os: [ubuntu-20.04, windows-2019, macOS-10.15] steps: -# - run: | -# sudo apt install graphviz -# wget http://www.openfst.org/twiki/pub/FST/FstDownload/openfst-1.8.1.tar.gz -# tar -xzvf openfst-1.8.1.tar.gz -# cd openfst-1.8.1/ -# ./configure --enable-far=true -# make -j4 -# sudo make install -# echo "export LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:/usr/local/lib" >> ~/.bashrc -# source ~/.bashrc - - uses: actions/checkout@v2 + # Used to host cibuildwheel + - uses: actions/setup-python@v2 + + - name: Install cibuildwheel + run: python -m pip install cibuildwheel==2.0.0a2 + - name: Build wheels - uses: pypa/cibuildwheel@v1.11.1.post1 + run: python -m cibuildwheel --output-dir wheelhouse # to supply options, put them in 'env', like: # env: # CIBW_SOME_OPTION: value From 7f3d02f30e10cfc7c0b4564e6fa7ee64b9809343 Mon Sep 17 00:00:00 2001 From: texzone Date: Sun, 20 Jun 2021 20:27:15 -0400 Subject: [PATCH 2/4] include all OSs --- .github/workflows/build_wheels.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build_wheels.yml b/.github/workflows/build_wheels.yml index 4a84915f..79d21317 100644 --- a/.github/workflows/build_wheels.yml +++ b/.github/workflows/build_wheels.yml @@ -1,6 +1,6 @@ name: Build -on: [push, pull_request] +on: [push] jobs: build_wheels: From 7943a164a2f79b304550a54bcc0bf05ce3b4b28e Mon Sep 17 00:00:00 2001 From: texzone Date: Sun, 20 Jun 2021 20:31:40 -0400 Subject: [PATCH 3/4] update --- .github/workflows/build_wheels.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build_wheels.yml b/.github/workflows/build_wheels.yml index 79d21317..e359f480 100644 --- a/.github/workflows/build_wheels.yml +++ b/.github/workflows/build_wheels.yml @@ -8,7 +8,7 @@ jobs: runs-on: ${{ matrix.os }} strategy: matrix: - os: [ubuntu-20.04, windows-2019, macOS-10.15] + os: [ubuntu-latest, macOS-latest] steps: - uses: actions/checkout@v2 From b522794cd2363eb429bb43ef070d0f236354bb90 Mon Sep 17 00:00:00 2001 From: texzone Date: Sun, 20 Jun 2021 20:32:15 -0400 Subject: [PATCH 4/4] all my homies hate dev on windows --- .github/workflows/build_wheels.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build_wheels.yml b/.github/workflows/build_wheels.yml index e359f480..b7e68343 100644 --- a/.github/workflows/build_wheels.yml +++ b/.github/workflows/build_wheels.yml @@ -8,7 +8,7 @@ jobs: runs-on: ${{ matrix.os }} strategy: matrix: - os: [ubuntu-latest, macOS-latest] + os: [ubuntu-20.04, macOS-10.15] steps: - uses: actions/checkout@v2