From 2a7c26ee31cf7d0595f4b6897641ee997ede6930 Mon Sep 17 00:00:00 2001 From: Gene Hoffman <30377676+hoffmang9@users.noreply.github.com> Date: Sat, 8 Jan 2022 14:50:24 -0800 Subject: [PATCH] Cancel-workflow to 0.9.1 - test Python 3.10 on Mac/Ubuntu (#303) * cancel-workflow to 0.9.1 - test Python 3.10 * Revert e73751e and change to single \ later --- .github/workflows/build-aarch64.yml | 2 +- .github/workflows/build-m1-wheel.yml | 2 +- .github/workflows/build-test.yaml | 8 ++++---- .github/workflows/build-wheels.yml | 2 +- .github/workflows/relic-nightly.yml | 2 +- setup.py | 2 +- 6 files changed, 9 insertions(+), 9 deletions(-) diff --git a/.github/workflows/build-aarch64.yml b/.github/workflows/build-aarch64.yml index c309f1bab..b33d845ad 100644 --- a/.github/workflows/build-aarch64.yml +++ b/.github/workflows/build-aarch64.yml @@ -22,7 +22,7 @@ jobs: steps: - name: Cancel previous runs on the same branch if: ${{ github.ref != 'refs/heads/main' }} - uses: styfle/cancel-workflow-action@0.7.0 + uses: styfle/cancel-workflow-action@0.9.1 with: access_token: ${{ github.token }} diff --git a/.github/workflows/build-m1-wheel.yml b/.github/workflows/build-m1-wheel.yml index 2940175dd..c81094a51 100644 --- a/.github/workflows/build-m1-wheel.yml +++ b/.github/workflows/build-m1-wheel.yml @@ -20,7 +20,7 @@ jobs: steps: - name: Cancel previous runs on the same branch if: ${{ github.ref != 'refs/heads/main' }} - uses: styfle/cancel-workflow-action@0.7.0 + uses: styfle/cancel-workflow-action@0.9.1 with: access_token: ${{ github.token }} diff --git a/.github/workflows/build-test.yaml b/.github/workflows/build-test.yaml index 58b1a0743..5ed10d903 100644 --- a/.github/workflows/build-test.yaml +++ b/.github/workflows/build-test.yaml @@ -18,12 +18,12 @@ jobs: fail-fast: false matrix: os: [macos-latest, ubuntu-latest] - python: ['3.7', '3.8', '3.9'] + python: ['3.7', '3.8', '3.9', '3.10'] steps: - name: Cancel previous runs on the same branch if: ${{ github.ref != 'refs/heads/main' }} - uses: styfle/cancel-workflow-action@0.7.0 + uses: styfle/cancel-workflow-action@0.9.1 with: access_token: ${{ github.token }} @@ -69,10 +69,10 @@ jobs: - name: Test pure python implementation run: | python python-impl/impl-test.py - + - name: Install emsdk uses: mymindstorm/setup-emsdk@v9 - + - name: Test javascript bindings run: | emcc -v diff --git a/.github/workflows/build-wheels.yml b/.github/workflows/build-wheels.yml index 9512680ca..9f9806002 100644 --- a/.github/workflows/build-wheels.yml +++ b/.github/workflows/build-wheels.yml @@ -22,7 +22,7 @@ jobs: steps: - name: Cancel previous runs on the same branch if: ${{ github.ref != 'refs/heads/main' }} - uses: styfle/cancel-workflow-action@0.7.0 + uses: styfle/cancel-workflow-action@0.9.1 with: access_token: ${{ github.token }} diff --git a/.github/workflows/relic-nightly.yml b/.github/workflows/relic-nightly.yml index c75972d31..cc8c032a4 100644 --- a/.github/workflows/relic-nightly.yml +++ b/.github/workflows/relic-nightly.yml @@ -17,7 +17,7 @@ jobs: steps: - name: Cancel previous runs on the same branch if: ${{ github.ref != 'refs/heads/main' }} - uses: styfle/cancel-workflow-action@0.7.0 + uses: styfle/cancel-workflow-action@0.9.1 with: access_token: ${{ github.token }} diff --git a/setup.py b/setup.py index 1b0d7b2b1..4d2482b9d 100644 --- a/setup.py +++ b/setup.py @@ -176,7 +176,7 @@ def build_extensions(self): opts.append("-fvisibility=hidden") elif ct == "msvc": if sys.version_info < (3, 9): - ver_flag = '/DVERSION_INFO=\\"%s\\"' + ver_flag = '/DVERSION_INFO=\"%s\"' else: ver_flag = '-DVERSION_INFO="%s"' opts.append(ver_flag % self.distribution.get_version())