diff options
author | Li Jin <dragon-fly@qq.com> | 2023-10-31 12:07:33 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-10-31 12:07:33 +0800 |
commit | ecb06ba7c20f68c0e4986224dc7af97ba9bf9293 (patch) | |
tree | 553df569a86e3a4140a63d7ed933d6b300b180fe /.github/workflows/macos.yml | |
parent | 5d2e6ad7e976d2d9df7b102d52dc4d145543dfa0 (diff) | |
download | yuescript-ecb06ba7c20f68c0e4986224dc7af97ba9bf9293.tar.gz yuescript-ecb06ba7c20f68c0e4986224dc7af97ba9bf9293.tar.bz2 yuescript-ecb06ba7c20f68c0e4986224dc7af97ba9bf9293.zip |
Update macos.yml. [skip CI]
Diffstat (limited to '')
-rw-r--r-- | .github/workflows/macos.yml | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/.github/workflows/macos.yml b/.github/workflows/macos.yml index 75b4067..f5cbcc8 100644 --- a/.github/workflows/macos.yml +++ b/.github/workflows/macos.yml | |||
@@ -12,10 +12,14 @@ jobs: | |||
12 | build: | 12 | build: |
13 | name: Build & Test | 13 | name: Build & Test |
14 | runs-on: macos-latest | 14 | runs-on: macos-latest |
15 | if: "startsWith(github.ref, 'refs/tags/') || !contains(github.event.head_commit.message, '[skip CI]')" | ||
15 | steps: | 16 | steps: |
16 | - uses: actions/checkout@v2 | 17 | - uses: actions/checkout@v2 |
17 | - name: build-test | 18 | - name: build-test |
18 | run: make test | 19 | run: | |
20 | brew install luarocks | ||
21 | luarocks install busted | ||
22 | make test | ||
19 | - name: build for luajit | 23 | - name: build for luajit |
20 | if: startsWith(github.ref, 'refs/tags/') | 24 | if: startsWith(github.ref, 'refs/tags/') |
21 | run: | | 25 | run: | |