mirror of
https://github.com/GAM-team/GAM.git
synced 2025-05-12 04:07:21 +00:00
actions: fresh attempt at Win arm64
This commit is contained in:
parent
d2b7e339ff
commit
fb8442a5e3
27
.github/workflows/build.yml
vendored
27
.github/workflows/build.yml
vendored
@ -88,12 +88,11 @@ jobs:
|
|||||||
goal: build
|
goal: build
|
||||||
arch: Win64
|
arch: Win64
|
||||||
openssl_archs: VC-WIN64A
|
openssl_archs: VC-WIN64A
|
||||||
#- os: windows-11-arm
|
- os: windows-11-arm
|
||||||
# jid: 14
|
jid: 14
|
||||||
# goal: build
|
goal: build
|
||||||
# arch: arm64
|
arch: arm64
|
||||||
# openssl_archs: VC-WIN64-ARM
|
openssl_archs: VC-WIN64-ARM
|
||||||
# continue-on-error: true
|
|
||||||
- os: ubuntu-24.04
|
- os: ubuntu-24.04
|
||||||
goal: test
|
goal: test
|
||||||
python: "3.10"
|
python: "3.10"
|
||||||
@ -460,16 +459,26 @@ jobs:
|
|||||||
"${PYTHON}" -m pip install --upgrade wheel
|
"${PYTHON}" -m pip install --upgrade wheel
|
||||||
"${PYTHON}" -m pip install --upgrade setuptools
|
"${PYTHON}" -m pip install --upgrade setuptools
|
||||||
|
|
||||||
|
- name: Custom wheels for Win arm64
|
||||||
|
if: runer.os == 'Windows' && runner.arch == 'ARM64'
|
||||||
|
run: |
|
||||||
|
latest_lxml_whl=$(curl https://api.github.com/repos/GAM-team/lxml-wheel/releases/latest -s | jq -r .assets.[0].browser_download_url)
|
||||||
|
echo "Downloading ${latest_lxml_whl}..."
|
||||||
|
curl -O -L "$latest_lxml_whl"
|
||||||
|
pip install lxml*.whl
|
||||||
|
latest_crypt_whl=$(curl https://api.github.com/repos/jay0lee/cryptography/releases/latest -s | jq -r .assets.[0].browser_download_url)
|
||||||
|
echo "Downloading ${latest_crypt_whl}..."
|
||||||
|
curl -O -L "$latest_crypt_whl"
|
||||||
|
pip install cryptography*.whl
|
||||||
|
|
||||||
- name: Install pip requirements
|
- name: Install pip requirements
|
||||||
run: |
|
run: |
|
||||||
# rust cargo needs this to compile
|
|
||||||
export OPENSSL_DIR="$OPENSSL_INSTALL_PATH"
|
|
||||||
echo "before anything..."
|
echo "before anything..."
|
||||||
"${PYTHON}" -m pip list
|
"${PYTHON}" -m pip list
|
||||||
"${PYTHON}" -m pip install --upgrade -r requirements.txt
|
"${PYTHON}" -m pip install --upgrade -r requirements.txt
|
||||||
echo "after requirements..."
|
echo "after requirements..."
|
||||||
"${PYTHON}" -m pip list
|
"${PYTHON}" -m pip list
|
||||||
"${PYTHON}" -m pip install --force-reinstall --no-deps --upgrade cryptography
|
#"${PYTHON}" -m pip install --force-reinstall --no-deps --upgrade cryptography
|
||||||
echo "after everything..."
|
echo "after everything..."
|
||||||
"${PYTHON}" -m pip list
|
"${PYTHON}" -m pip list
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user