Skip to content

Commit

Permalink
build on older OS versions to support older OS versions (#652)
Browse files Browse the repository at this point in the history
  • Loading branch information
scholarsmate authored May 11, 2023
1 parent d130897 commit e41269d
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/deploy-docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ on:

jobs:
deploy-docs:
runs-on: macos-12
runs-on: macos-11
steps:
- name: Install Prerequisites 📚
run: |
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ jobs:
build-lib:
strategy:
matrix:
os: [ windows-2022, macos-12, ubuntu-20.04 ]
os: [ windows-2019, macos-11, ubuntu-20.04 ] # NOTE: build on older OS versions to support older OS versions
name: Native build and test on ${{ matrix.os }}
runs-on: ${{ matrix.os }}
needs: [create-release]
Expand Down Expand Up @@ -112,7 +112,7 @@ jobs:
native-build-mac-win:
strategy:
matrix:
os: [macos-12, windows-2022]
os: [macos-11, windows-2019] # NOTE: build on older OS versions to support older OS versions
name: Build ${{ matrix.os }}
runs-on: ${{ matrix.os }}
needs: [build-lib]
Expand Down Expand Up @@ -231,12 +231,12 @@ jobs:
- name: Download macos Native JARs 🔻
uses: actions/download-artifact@v3
with:
name: macos-12-artifacts
name: macos-11-artifacts

- name: Download windows Native JARs 🔻
uses: actions/download-artifact@v3
with:
name: windows-2022-artifacts
name: windows-2019-artifacts

- name: Move windows and macos jars out 🚚
env:
Expand Down Expand Up @@ -308,7 +308,7 @@ jobs:

node-build:
name: Node Release ✨
runs-on: ubuntu-20.04
runs-on: ubuntu-20.04 # NOTE: build on older OS versions to support older OS versions
needs: [scala-publish]
steps:
- name: Checkout 🛎️
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
build-native:
strategy:
matrix:
os: [ windows-2022, macos-12, ubuntu-20.04 ]
os: [ windows-2019, macos-11, ubuntu-20.04 ] # NOTE: build on older OS versions to support older OS versions
fail-fast: false # don't immediately fail all other jobs if a single job fails
name: Native build and test on ${{ matrix.os }} 🦙
runs-on: ${{ matrix.os }}
Expand Down Expand Up @@ -67,7 +67,7 @@ jobs:
needs: [ build-native ]
strategy:
matrix:
os: [ macos-12, ubuntu-20.04 ] # TODO: add windows-2022 (currently it's timing out on Package Scala API)
os: [ macos-11, ubuntu-20.04 ] # TODO: add windows-2019 (currently it's timing out on Package Scala API)
fail-fast: false
runs-on: ${{ matrix.os }}
steps:
Expand Down

0 comments on commit e41269d

Please sign in to comment.