diff options
author | messense <messense@icloud.com> | 2021-05-05 17:16:19 +0800 |
---|---|---|
committer | messense <messense@icloud.com> | 2021-05-07 08:10:38 +0800 |
commit | aad3a68928bfd176134dce7dedea710a3d2be725 (patch) | |
tree | d9a550c6b11e8f81ebb43c835995f25798efe3d6 /.github | |
parent | e27ea4a3025fd3b49ba1bb2bce1deb2eecdd8cb5 (diff) |
Install PyOxidizer from PyPI
Diffstat (limited to '.github')
-rw-r--r-- | .github/workflows/release.yaml | 8 | ||||
-rw-r--r-- | .github/workflows/test-binary-build.yaml | 8 |
2 files changed, 2 insertions, 14 deletions
diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 4ea613d..0e53be9 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -107,18 +107,12 @@ jobs: iredis -h iredis help GET - - name: Cache cargo registry - uses: actions/cache@v1 - with: - path: ~/.cargo/registry - key: ${{ runner.os }}-cargo-registry - - name: Executable Build run: | # pyoxidizer doesn't know the wheel path, and it doesn't support passing env vars export WHEEL_PATH=`ls ./dist/iredis*.whl` envsubst '$WHEEL_PATH' < pyoxidizer.template.bzl > pyoxidizer.bzl - cargo install pyoxidizer --vers 0.10.3 + pip install pyoxidizer pyoxidizer build --release install cd ./build/x86*/release/install tar -zcf ../../../iredis.tar.gz lib/ iredis diff --git a/.github/workflows/test-binary-build.yaml b/.github/workflows/test-binary-build.yaml index 426f6cf..4bf2853 100644 --- a/.github/workflows/test-binary-build.yaml +++ b/.github/workflows/test-binary-build.yaml @@ -54,18 +54,12 @@ jobs: iredis -h iredis help GET - - name: Cache cargo registry - uses: actions/cache@v1 - with: - path: ~/.cargo/registry - key: ${{ runner.os }}-cargo-registry - - name: Executable Build run: | # pyoxidizer doesn't know the wheel path, and it doesn't support passing env vars export WHEEL_PATH=`ls ./dist/iredis*.whl` envsubst '$WHEEL_PATH' < pyoxidizer.template.bzl > pyoxidizer.bzl - cargo install pyoxidizer --vers 0.10.3 + pip install pyoxidizer pyoxidizer build --release install cd ./build/x86*/release/install tar -zcf ../../../iredis.tar.gz lib/ iredis |