Enable CI builds for cross-built installers.

(Testing will still fail).
This commit is contained in:
Ryan Volz 2022-09-26 18:47:59 -04:00
parent 85986ac464
commit 011fc82887

View File

@ -26,22 +26,22 @@ jobs:
PLATFORM: linux-64 PLATFORM: linux-64
OS_NAME: Linux OS_NAME: Linux
ARCH: x86_64 ARCH: x86_64
# - os: ubuntu-latest - os: ubuntu-latest
# PLATFORM: linux-aarch64 PLATFORM: linux-aarch64
# OS_NAME: Linux OS_NAME: Linux
# ARCH: aarch64 ARCH: aarch64
# - os: ubuntu-latest - os: ubuntu-latest
# PLATFORM: linux-ppc64le PLATFORM: linux-ppc64le
# OS_NAME: Linux OS_NAME: Linux
# ARCH: ppc64le ARCH: ppc64le
- os: macos-latest - os: macos-latest
PLATFORM: osx-64 PLATFORM: osx-64
OS_NAME: MacOSX OS_NAME: MacOSX
ARCH: x86_64 ARCH: x86_64
# - os: macos-latest - os: macos-latest
# PLATFORM: osx-arm64 PLATFORM: osx-arm64
# OS_NAME: MacOSX OS_NAME: MacOSX
# ARCH: arm64 ARCH: arm64
- os: windows-latest - os: windows-latest
PLATFORM: win-64 PLATFORM: win-64
OS_NAME: Windows OS_NAME: Windows
@ -69,14 +69,14 @@ jobs:
if [ "$OS_NAME" == "Windows" ]; then if [ "$OS_NAME" == "Windows" ]; then
PATH=$CONDA_PREFIX/NSIS:$PATH PATH=$CONDA_PREFIX/NSIS:$PATH
fi fi
python build_installer.py -- -v python build_installer.py installer_specs/$DISTNAME-$PLATFORM -- -v
- name: Build metapackage - name: Build metapackage
shell: bash -l {0} shell: bash -l {0}
env: env:
PLATFORM: ${{ matrix.PLATFORM }} PLATFORM: ${{ matrix.PLATFORM }}
run: | run: |
python build_metapackage.py python build_metapackage.py installer_specs/$DISTNAME-$PLATFORM.yml
- name: Copy lock file and list built installers and packages - name: Copy lock file and list built installers and packages
shell: bash shell: bash