From 465b2315bed347e8d68bd9a166a9e65ef4517f53 Mon Sep 17 00:00:00 2001 From: kojix2 <2xijok@gmail.com> Date: Fri, 23 Aug 2024 08:04:49 +0900 Subject: [PATCH] ci: Enable macos --- .github/workflows/ci.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 4355a4f..58c3159 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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 @@ -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