fix windows release build

This commit is contained in:
Qingping Hou 2021-10-11 22:12:32 -07:00
parent 5ffdf09a05
commit a018637a90
2 changed files with 0 additions and 3 deletions

View File

@ -13,7 +13,6 @@ on:
env:
# NOTE: this env is also defined in build.yml
RUST_TC_NIGHTLY_VER: "2021-09-25"
RUSTFLAGS: "-C target-cpu=skylake"
jobs:
# skip tag version validation on non-release branch run
@ -107,7 +106,6 @@ jobs:
run: pip3 install 'maturin<0.12'
- name: Build wheels
run: |
export RUSTFLAGS='-C target-cpu=skylake'
maturin build -m columnq-cli/Cargo.toml -b bin --release --out dist --no-sdist --target ${{ matrix.platform.target }} --cargo-extra-args="--features=${{ matrix.platform.features }}"
pip install columnq-cli --no-index --find-links dist --force-reinstall
columnq --help

View File

@ -107,7 +107,6 @@ jobs:
run: pip3 install 'maturin<0.12'
- name: Build wheels
run: |
export RUSTFLAGS='-C target-cpu=skylake'
maturin build -m roapi-http/Cargo.toml -b bin --release --out dist --no-sdist --target ${{ matrix.platform.target }} --cargo-extra-args="--features=${{ matrix.platform.features }}"
pip install roapi-http --no-index --find-links dist --force-reinstall
roapi-http --help