Skip to content

Commit

Permalink
Add macos
Browse files Browse the repository at this point in the history
  • Loading branch information
outkine committed Jan 15, 2024
1 parent 83d56c5 commit badc406
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,8 @@ jobs:
include:
- os: ubuntu-20.04
cargoargs: --features build-llvm
# - os: macos-latest
# cargoargs: --features build-llvm
- os: macos-12
cargoargs: --features build-llvm
# - os: windows-latest
# cargoargs: ''

Expand Down Expand Up @@ -83,10 +83,11 @@ jobs:
run: echo "COMPILED_RUNNERS=compiled_runners" >> $GITHUB_ENV
shell: bash

- if: matrix.os == 'macos-latest'
- if: matrix.os == 'macos-12'
run: |
brew install llvm@10
echo "LLVM_SYS_110_PREFIX=$(brew --prefix llvm)" >> $GITHUB_ENV
wget https://github.com/macports/macports-base/releases/download/v2.7.1/MacPorts-2.7.1-12-Monterey.pkg
sudo installer -pkg ./MacPorts-2.7.1-12-Monterey.pkg -target /
sudo port install llvm-10
- if: matrix.os == 'ubuntu-20.04'
run: |
Expand All @@ -108,7 +109,7 @@ jobs:
cp -Path target/release/rumblebot.exe -Destination release
cp -Path README.md -Destination release
- if: matrix.os == 'macos-latest' || matrix.os == 'ubuntu-20.04'
- if: matrix.os == 'macos-12' || matrix.os == 'ubuntu-20.04'
run: |
mkdir release
cp target/release/rumblebot release
Expand Down

0 comments on commit badc406

Please sign in to comment.