diff options
| author | Randy Palamar <randy@rnpnr.xyz> | 2024-04-21 08:25:31 -0600 |
|---|---|---|
| committer | Randy Palamar <randy@rnpnr.xyz> | 2024-04-21 08:42:10 -0600 |
| commit | 025ab0f5789621beb470a1eb0a3ce9a437682dbf (patch) | |
| tree | c979ed0048961d07ad7d7d7c50eccc7cc70d1213 | |
| parent | 65045941277df247e089789e50aa29862d4563bc (diff) | |
| download | vis-025ab0f5789621beb470a1eb0a3ce9a437682dbf.tar.gz vis-025ab0f5789621beb470a1eb0a3ce9a437682dbf.tar.xz | |
ci: fix macOS runner
Apparently Github changed the permissions on /usr/local in the
default image so now we need to use `sudo` for luarocks to be able
to install packages.
While I'm here: update the checkout dependency and use
macOS-latest image instead of multiple old images.
| -rw-r--r-- | .github/workflows/macos.yml | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/.github/workflows/macos.yml b/.github/workflows/macos.yml index 6fc017a..06d484b 100644 --- a/.github/workflows/macos.yml +++ b/.github/workflows/macos.yml @@ -4,25 +4,22 @@ on: [push, pull_request] jobs: build: + runs-on: macos-latest strategy: matrix: - os: - - macos-12 - - macos-11 # latest config: - "" - --disable-curses - --disable-lua - --disable-tre - --disable-help - runs-on: ${{ matrix.os }} env: CFLAGS_EXTRA: --coverage LDFLAGS_EXTRA: --coverage steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Dependency Homebrew run: | @@ -36,8 +33,8 @@ jobs: - name: Dependency LuaRocks run: | - luarocks install lpeg - luarocks install busted + sudo luarocks install lpeg + sudo luarocks install busted - name: Build run: | |
