From 279431dd91234196cc7a60666dff94b24e989ff0 Mon Sep 17 00:00:00 2001 From: ejurgensen Date: Sat, 23 May 2020 17:55:55 +0200 Subject: [PATCH] [gh-actions] Use local antlr3_install script for MacOS workflow --- .github/workflows/macos.yml | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) diff --git a/.github/workflows/macos.yml b/.github/workflows/macos.yml index 07222467..deea442a 100644 --- a/.github/workflows/macos.yml +++ b/.github/workflows/macos.yml @@ -18,7 +18,7 @@ jobs: run: brew install automake autoconf libtool pkg-config - name: Install libinotify-kqueue - # brew package does not have unlock-notify + # brew does not have libinotify package run: | git clone https://github.com/libinotify-kqueue/libinotify-kqueue cd libinotify-kqueue @@ -40,19 +40,18 @@ jobs: sudo make install cd .. + - name: Install gperf and antlr3 + run: | + brew install gperf + chmod +x ./scripts/antlr35_install.sh + ./scripts/antlr35_install.sh -y -p /usr/local + - name: Install ffmpeg # The libbluray ffmpeg dependency fails without the chown (source: stackoverflow) run: | sudo chown -R $(whoami) $(brew --prefix)/* brew install ffmpeg - - name: Install gperf and antlr3 - run: | - brew install gperf - wget https://raw.githubusercontent.com/ejurgensen/actionstest/master/antlr35_install.sh - chmod +x ./antlr35_install.sh - ./antlr35_install.sh -p /usr/local - - name: Install other dependencies run: brew install libunistring libmxml confuse libplist sqlite libwebsockets libevent libgcrypt json-c protobuf-c libsodium gnutls pulseaudio