Skip to content

Commit

Permalink
Run the tests on macOS 11, 12, and 13
Browse files Browse the repository at this point in the history
macos-10.15 is no longer available and the label has changed for macOS
11.
  • Loading branch information
steven-joruk authored and dfrankland committed Feb 17, 2024
1 parent 3ba4b76 commit cd4fb3d
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,14 +11,14 @@ jobs:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ macos-10.15, macos-11.0 ]
os: [ macos-11, macos-12, macos-13 ]
rust: [ nightly, stable ]

steps:
- name: Checkout sources
uses: actions/checkout@v2

- name: Install stable toolchain
- name: Install the toolchain
uses: actions-rs/toolchain@v1
with:
profile: minimal
Expand All @@ -41,7 +41,7 @@ jobs:
- name: Checkout sources
uses: actions/checkout@v2

- name: Install stable toolchain
- name: Install the stable toolchain
uses: actions-rs/toolchain@v1
with:
profile: minimal
Expand Down
2 changes: 2 additions & 0 deletions examples/echo-server/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ all: ../../target/debug/echo-server
cargo build

install: ../../target/debug/echo-server
# GitHub's runners don't have this directory by default.
sudo mkdir -p /Library/PrivilegedHelperTools/
sudo cp ../../target/debug/echo-server /Library/PrivilegedHelperTools/com.example.echo
sudo cp com.example.echo.plist /Library/LaunchDaemons/
sudo launchctl load /Library/LaunchDaemons/com.example.echo.plist
Expand Down

0 comments on commit cd4fb3d

Please sign in to comment.