Skip to content

Commit

Permalink
Add macos to test matrix
Browse files Browse the repository at this point in the history
  • Loading branch information
ntBre authored Aug 27, 2024
1 parent 4e8b60e commit 6927a04
Showing 1 changed file with 12 additions and 3 deletions.
15 changes: 12 additions & 3 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,19 +7,28 @@ on:
name: test
jobs:
required:
runs-on: ubuntu-latest
name: ubuntu / ${{ matrix.toolchain }}
runs-on: ${{ matrix.os }}
name: ${{ matrix.os }} / ${{ matrix.toolchain }}
strategy:
matrix:
toolchain: [nightly]
os: [ubuntu-latest, macos-13]
include:
- os: macos-13
is_mac: 1
steps:
- uses: actions/checkout@v4
with:
submodules: true
- name: Install X libraries
- name: Install X libraries (ubuntu)
if: ${{ ! matrix.is_mac }}
run: |
sudo apt-get update
sudo apt-get install libxft-dev libxinerama-dev
- name: Install X libraries (mac)
if: ${{ matrix.is_mac }}
run: |
brew install libxft libxinerama
- name: Install ${{ matrix.toolchain }}
uses: dtolnay/rust-toolchain@master
with:
Expand Down

0 comments on commit 6927a04

Please sign in to comment.