From 9ba4350be705412f512e270e1515a85cda3fd6ea Mon Sep 17 00:00:00 2001 From: wxyzh Date: Mon, 1 Jul 2024 21:20:20 +0800 Subject: [PATCH] add macos ci --- .github/workflows/macos-build.yml | 2 +- .github/workflows/test-ci.yml | 8 +++++++- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/.github/workflows/macos-build.yml b/.github/workflows/macos-build.yml index 1cde2e72ed..6b77d542df 100644 --- a/.github/workflows/macos-build.yml +++ b/.github/workflows/macos-build.yml @@ -80,7 +80,7 @@ jobs: dist version-info.txt tar -cjvf rime-deps-${{ env.git_ref_name }}-${{ runner.os }}-${{ matrix.build_variant || runner.arch }}.tar.bz2 \ --exclude '*/.placeholder' \ - bin include lib share + bin include lib share build - name: Upload artifacts if: matrix.create-distributable diff --git a/.github/workflows/test-ci.yml b/.github/workflows/test-ci.yml index 6c28f99794..971d9794e7 100644 --- a/.github/workflows/test-ci.yml +++ b/.github/workflows/test-ci.yml @@ -11,9 +11,15 @@ jobs: repository: rime/librime branch: master rime_plugins: hchunhui/librime-lua lotem/librime-octagram rime/librime-predict + + macos: + uses: wxyzh/librime/.github/workflows/macos-build.yml@Buildlibrime + with: + build_variant: '-universal' + rime_plugins: hchunhui/librime-lua lotem/librime-octagram rime/librime-predict release: - needs: [windows] + needs: [windows, macos] runs-on: ubuntu-latest steps: - name: Download artifacts