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

Add x86_64 MacOS runner #86

Merged
merged 2 commits into from
Nov 21, 2024
Merged
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
15 changes: 13 additions & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,16 @@ jobs:
rust: stable
tar: osx
out_dir: out
- target: x86_64-apple-darwin
arch: x86_64
os: macos-13
ninja_file: ninja-mac.zip
ninja_sha: 482ecb23c59ae3d4f158029112de172dd96bb0e97549c4b1ca32d8fad11f873e
ninja_dir: /usr/local/bin
ninja_sudo: sudo
rust: stable
tar: osx
out_dir: out
- target: x86_64-pc-windows-msvc
arch: x86_64
os: windows-latest
Expand All @@ -53,8 +63,8 @@ jobs:
- uses: actions/checkout@v1
- name: Install coreutils and swig
run: |
brew update && brew install coreutils && brew install swig
if: matrix.os == 'macos-latest'
brew update && brew install coreutils swig ninja
if: matrix.tar == 'osx'
shell: bash
- name: Install Linux tools for LLDB
run: |
Expand All @@ -65,6 +75,7 @@ jobs:
curl -L -O "https://github.com/ninja-build/ninja/releases/download/v1.11.1/${{ matrix.ninja_file }}" && \
echo "${{ matrix.ninja_sha }} ${{ matrix.ninja_file }}" | sha256sum -c && \
${{ matrix.ninja_sudo }} unzip ${{ matrix.ninja_file }} -d ${{ matrix.ninja_dir }} && rm ${{ matrix.ninja_file }}
if: matrix.tar != 'osx'
shell: bash
- name: Install Rust
uses: dtolnay/rust-toolchain@master
Expand Down