mirror of
https://github.com/gabehf/Fladder.git
synced 2026-03-07 21:48:14 -08:00
[Build] Add libmpv-dev to Linux workflow to fix compilation (#16)
Co-authored-by: PartyDonut <42371342+PartyDonut@users.noreply.github.com>
This commit is contained in:
parent
e45ff31587
commit
1f05446eb1
1 changed files with 26 additions and 26 deletions
52
.github/workflows/build.yml
vendored
52
.github/workflows/build.yml
vendored
|
|
@ -198,38 +198,38 @@ jobs:
|
|||
name: ${{ env.PACKAGE_NAME }}
|
||||
path: build/macos/Build/Products/Release/${{ env.PACKAGE_NAME }}.dmg
|
||||
|
||||
# build-linux:
|
||||
# runs-on: ubuntu-latest
|
||||
build-linux:
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
# steps:
|
||||
# - name: Checkout repository
|
||||
# uses: actions/checkout@v4.1.1
|
||||
steps:
|
||||
- name: Checkout repository
|
||||
uses: actions/checkout@v4.1.1
|
||||
|
||||
# - name: Set up Flutter
|
||||
# uses: subosito/flutter-action@v2.16.0
|
||||
# with:
|
||||
# channel: ${{ vars.FLUTTER_CHANNEL }}
|
||||
# flutter-version: ${{ vars.FLUTTER_VERSION }}
|
||||
# cache: true
|
||||
# cache-key: "flutter-:os:-:channel:-:version:-:arch:-:hash:" # optional, change this to force refresh cache
|
||||
# cache-path: "${{ runner.tool_cache }}/flutter/:channel:-:version:-:arch:" # optional, change this to specify the cache path
|
||||
- name: Set up Flutter
|
||||
uses: subosito/flutter-action@v2.16.0
|
||||
with:
|
||||
channel: ${{ vars.FLUTTER_CHANNEL }}
|
||||
flutter-version: ${{ vars.FLUTTER_VERSION }}
|
||||
cache: true
|
||||
cache-key: "flutter-:os:-:channel:-:version:-:arch:-:hash:" # optional, change this to force refresh cache
|
||||
cache-path: "${{ runner.tool_cache }}/flutter/:channel:-:version:-:arch:" # optional, change this to specify the cache path
|
||||
|
||||
# - name: Get dependencies
|
||||
# run: flutter pub get
|
||||
- name: Get dependencies
|
||||
run: flutter pub get
|
||||
|
||||
# - name: Get packages
|
||||
# run: |
|
||||
# sudo apt-get update -y
|
||||
# sudo apt-get install -y ninja-build libgtk-3-dev
|
||||
- name: Get packages
|
||||
run: |
|
||||
sudo apt-get update -y
|
||||
sudo apt-get install -y ninja-build libgtk-3-dev libmpv-dev
|
||||
|
||||
# - name: Build Linux app
|
||||
# run: flutter build linux
|
||||
- name: Build Linux app
|
||||
run: flutter build linux
|
||||
|
||||
# - name: Archive Linux artifact
|
||||
# uses: actions/upload-artifact@v2
|
||||
# with:
|
||||
# name: linux
|
||||
# path: build/linux/x64/release/bundle
|
||||
- name: Archive Linux artifact
|
||||
uses: actions/upload-artifact@v2
|
||||
with:
|
||||
name: linux
|
||||
path: build/linux/x64/release/bundle
|
||||
|
||||
build-web:
|
||||
runs-on: ubuntu-latest
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue