Skip to content

Commit

Permalink
[GA] use macos-13
Browse files Browse the repository at this point in the history
  • Loading branch information
jborbely committed Apr 29, 2024
1 parent 063cb8b commit f9f7bea
Showing 1 changed file with 12 additions and 13 deletions.
25 changes: 12 additions & 13 deletions .github/workflows/run-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,38 +9,37 @@ env:
jobs:
test:
name: Test
runs-on: ${{ matrix.os }}-latest
runs-on: ${{ matrix.os }}
timeout-minutes: 10

strategy:
fail-fast: false
matrix:
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"]
os: [windows, ubuntu, macos]
os: [windows-latest, ubuntu-latest, macos-13]
architecture: [x64, x86]
exclude:
- os: ubuntu
- os: ubuntu-latest
architecture: x86
- os: macos
- os: macos-13
architecture: x86

steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Install system dependencies (Ubuntu)
if: ${{ matrix.os == 'ubuntu' }}
if: ${{ matrix.os == 'ubuntu-latest' }}
run: |
sudo dpkg --add-architecture i386
sudo apt-get update
sudo apt-get install -y libgfortran5:i386
- name: Set up .NET Core environment variable (macOS)
if: ${{ matrix.os == 'macos' }}
run: |
echo PYTHONNET_RUNTIME=coreclr >> $GITHUB_ENV
echo PYTHONNET_PYDLL=$(python -m find_libpython) >> $GITHUB_ENV
echo PYTHONHOME=$(python -c 'import sys; print(sys.prefix)') >> $GITHUB_ENV
- name: Mono version (Ubuntu)
if: ${{ matrix.os == 'ubuntu' }}
- name: Set up Mono (macOS)
if: ${{ matrix.os == 'macos-13' }}
uses: maxim-lobanov/setup-xamarin@v1
with:
mono-version: latest
- name: Mono version (non Windows)
if: ${{ matrix.os != 'windows-latest' }}
run: mono --version
- name: Java version
run: java -version
Expand Down

0 comments on commit f9f7bea

Please sign in to comment.