Update workflow files: bison/flex instead of antlr

This commit is contained in:
ejurgensen 2022-01-10 22:12:28 +01:00
parent efe5df5e12
commit 797d688a29
4 changed files with 5 additions and 7 deletions

View File

@ -1,4 +1,4 @@
name: "forked-daapd CodeQL config" name: "OwnTone CodeQL config"
paths-ignore: paths-ignore:
- htdocs - htdocs

View File

@ -40,7 +40,7 @@ jobs:
# uses a compiled language # uses a compiled language
- run: | - run: |
sudo apt-get update sudo apt-get update
sudo apt-get install -yq build-essential clang clang-tools git autotools-dev autoconf libtool gettext gawk gperf antlr3 libantlr3c-dev libconfuse-dev libunistring-dev libsqlite3-dev libavcodec-dev libavformat-dev libavfilter-dev libswscale-dev libavutil-dev libasound2-dev libmxml-dev libgcrypt20-dev libavahi-client-dev zlib1g-dev libevent-dev libplist-dev libsodium-dev libcurl4-openssl-dev libjson-c-dev libprotobuf-c-dev libpulse-dev libwebsockets-dev libgnutls28-dev sudo apt-get install -yq build-essential clang clang-tools git autotools-dev autoconf libtool gettext gawk gperf bison flex libconfuse-dev libunistring-dev libsqlite3-dev libavcodec-dev libavformat-dev libavfilter-dev libswscale-dev libavutil-dev libasound2-dev libmxml-dev libgcrypt20-dev libavahi-client-dev zlib1g-dev libevent-dev libplist-dev libsodium-dev libcurl4-openssl-dev libjson-c-dev libprotobuf-c-dev libpulse-dev libwebsockets-dev libgnutls28-dev
autoreconf -vi autoreconf -vi
./configure --enable-lastfm --enable-chromecast ./configure --enable-lastfm --enable-chromecast
scan-build --status-bugs -disable-checker deadcode.DeadStores make scan-build --status-bugs -disable-checker deadcode.DeadStores make

View File

@ -40,11 +40,9 @@ jobs:
sudo make install sudo make install
cd .. cd ..
- name: Install gperf and antlr3 - name: Install gperf, bison and flex
run: | run: |
brew install gperf brew install gperf bison flex
chmod +x ./scripts/antlr35_install.sh
./scripts/antlr35_install.sh -y -p /usr/local
- name: Install ffmpeg - name: Install ffmpeg
# The libbluray ffmpeg dependency fails without the chown (source: stackoverflow) # The libbluray ffmpeg dependency fails without the chown (source: stackoverflow)

View File

@ -16,7 +16,7 @@ jobs:
- name: install dependencies - name: install dependencies
run: | run: |
sudo apt-get update sudo apt-get update
sudo apt-get install -yq build-essential clang clang-tools git autotools-dev autoconf libtool gettext gawk gperf antlr3 libantlr3c-dev libconfuse-dev libunistring-dev libsqlite3-dev libavcodec-dev libavformat-dev libavfilter-dev libswscale-dev libavutil-dev libasound2-dev libmxml-dev libgcrypt20-dev libavahi-client-dev zlib1g-dev libevent-dev libplist-dev libsodium-dev libcurl4-openssl-dev libjson-c-dev libprotobuf-c-dev libpulse-dev libwebsockets-dev libgnutls28-dev sudo apt-get install -yq build-essential clang clang-tools git autotools-dev autoconf libtool gettext gawk gperf bison flex libconfuse-dev libunistring-dev libsqlite3-dev libavcodec-dev libavformat-dev libavfilter-dev libswscale-dev libavutil-dev libasound2-dev libmxml-dev libgcrypt20-dev libavahi-client-dev zlib1g-dev libevent-dev libplist-dev libsodium-dev libcurl4-openssl-dev libjson-c-dev libprotobuf-c-dev libpulse-dev libwebsockets-dev libgnutls28-dev
- name: build and check - name: build and check
run: | run: |
autoreconf -vi autoreconf -vi