Skip to content

Commit

Permalink
ci: Enable macos
Browse files Browse the repository at this point in the history
  • Loading branch information
kojix2 committed Aug 22, 2024
1 parent 98d5fc9 commit 465b231
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ jobs:
runs-on: ${{ matrix.os }}-latest
strategy:
matrix:
os: ["ubuntu"]
os: ["ubuntu", "macos"]
ruby: ["3.3"]
steps:
- uses: actions/checkout@v4
Expand All @@ -23,6 +23,6 @@ jobs:
- if: matrix.os == 'ubuntu'
run: bundle exec rake jemalloc:build && bundle exec rake odgi:build
- if: matrix.os == 'macos'
run: CC=/opt/homebrew/opt/llvm/bin/clang CXX=/opt/homebrew/opt/llvm/bin/clang++ LDFLAGS=-L/opt/homebrew/lib bundle exec rake odgi:build
run: CC=/opt/homebrew/opt/llvm/bin/clang CXX=/opt/homebrew/opt/llvm/bin/clang++ LDFLAGS=-L/opt/homebrew/lib bundle exec rake jemalloc:build && bundle exec rake odgi:build
- run: bundle exec rake compile
- run: bundle exec rake test

0 comments on commit 465b231

Please sign in to comment.