Skip to content

Commit

Permalink
Revert ffmpeg apt steps, and disable macOS builds (failing!)
Browse files Browse the repository at this point in the history
  • Loading branch information
CDrummond committed Aug 10, 2023
1 parent 75aeee1 commit fe65d35
Showing 1 changed file with 33 additions and 32 deletions.
65 changes: 33 additions & 32 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ jobs:
uses: actions/checkout@v1

- name: Packages
run: sudo apt-get update && sudo apt-get install build-essential yasm libavutil-dev libavcodec-dev libavformat-dev libavfilter-dev libavdevice-dev libswresample-dev libfftw3-dev ffmpeg -y
run: sudo add-apt-repository ppa:savoury1/ffmpeg4 -y && sudo add-apt-repository ppa:savoury1/ffmpeg5 -y && sudo apt-get update && sudo apt-get install build-essential yasm libavutil-dev libavcodec-dev libavformat-dev libavfilter-dev libavdevice-dev libswresample-dev libfftw3-dev ffmpeg -y

- name: Build
run: |
Expand Down Expand Up @@ -78,37 +78,38 @@ jobs:
name: bliss-analyser-linux-arm
path: releases/

macOS:
runs-on: macos-11.0

steps:
- name: Install Rust
uses: actions-rs/toolchain@v1
with:
toolchain: stable

- name: Checkout
uses: actions/checkout@v2

- name: Install deps
run: |
brew install ffmpeg@5
- name: Build
run: |
mkdir releases
cargo build --release
strip target/release/bliss-analyser
cp target/release/bliss-analyser releases/bliss-analyser
cp UserGuide.md releases/README.md
cp LICENSE releases/
cp configs/macos.ini releases/config.ini
- name: Upload artifacts
uses: actions/upload-artifact@v2
with:
name: bliss-analyser-mac
path: releases/
# macOs builds are failing: error: could not find system library 'libavutil' required by the 'ffmpeg-sys-next' crate
# macOS:
# runs-on: macos-11.0
#
# steps:
# - name: Install Rust
# uses: actions-rs/toolchain@v1
# with:
# toolchain: stable
#
# - name: Checkout
# uses: actions/checkout@v2
#
# - name: Install deps
# run: |
# brew install ffmpeg@5
#
# - name: Build
# run: |
# mkdir releases
# cargo build --release
# strip target/release/bliss-analyser
# cp target/release/bliss-analyser releases/bliss-analyser
# cp UserGuide.md releases/README.md
# cp LICENSE releases/
# cp configs/macos.ini releases/config.ini
#
# - name: Upload artifacts
# uses: actions/upload-artifact@v2
# with:
# name: bliss-analyser-mac
# path: releases/


Windows:
Expand Down

0 comments on commit fe65d35

Please sign in to comment.