Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

{Build} Continuous Integration - Use Ubuntu-22.04 #176

Closed
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/build-and-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, macos-13, macos-14] # macos-14 is macSilicon
os: [ubuntu-22.04, macos-13, macos-14] # macos-14 is macSilicon
steps:
- name : Checkout
uses: actions/checkout@v4
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/build-and-test_projects.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, macos-13, macos-14] # macos-14 is macSilicon
os: [ubuntu-22.04, macos-13, macos-14] # macos-14 is macSilicon
project: [
PROJECTARIA_TOOLS_BUILD_PROJECTS_ADT,
PROJECTARIA_TOOLS_BUILD_TOOLS]
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/build-wheels-and-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ on:
jobs:
build-stubs:
name: Build Python stubs
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
steps:
- name: Checkout repo
uses: actions/checkout@v4
Expand Down Expand Up @@ -75,7 +75,7 @@ jobs:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [macos-13, ubuntu-latest, macos-latest-xlarge, windows-2022]
os: [macos-13, ubuntu-22.04, macos-latest-xlarge, windows-2022]
python-version: ["3.10", "3.11", "3.12"]
# Default consider only Python >=3.10 since actions/setup-python supports only python<3.10 and mac-silicon
# Other Python versions are added below as matrix entries
Expand All @@ -87,10 +87,10 @@ jobs:
- python-version: "3.12"
cibw_build: "cp312-*"
# Add matrix entries: Python ["3.8", "3.9"] to [macos-13, ubuntu-latest]
- os: ubuntu-latest
- os: ubuntu-22.04
python-version: "3.8"
cibw_build: "cp38-*"
- os: ubuntu-latest
- os: ubuntu-22.04
python-version: "3.9"
cibw_build: "cp39-*"
- os: macos-13
Expand Down Expand Up @@ -129,7 +129,7 @@ jobs:
CIBW_SKIP: "*-manylinux_i686 *-musllinux_* *x86_64*"
CIBW_ARCHS: "arm64"
- name: Build wheels for CPython
if: ${{ (matrix.os == 'macos-13') || (matrix.os == 'ubuntu-latest') }}
if: ${{ (matrix.os == 'macos-13') || (matrix.os == 'ubuntu-22.04') }}
shell: bash
run: |
CMAKE_BUILD_PARALLEL_LEVEL=4 python3 -m cibuildwheel --output-dir dist
Expand Down
Loading
Loading