Skip to content

dammit windows

dammit windows #690

Workflow file for this run

on: push
jobs:
build_windows:
runs-on: windows-latest
steps:
- uses: actions/checkout@v3
- uses: subosito/flutter-action@v2
with:
channel: "stable"
- run: flutter config --enable-windows-desktop
- run: flutter pub get
- run: flutter build windows
- run: xcopy ".\external_dependencies\windows" ".\build\windows\x64\runner\Release\" /y /s
- run: mkdir ".\build\windows\x64\runner\Release\dlls"
- run: xcopy ".\dlls" ".\build\windows\x64\runner\Release\dlls" /y /s
- uses: actions/upload-artifact@v3
with:
name: thepuzzlecell-windows
path: build/windows/x64/runner/Release
- run: flutter build windows --debug
- run: xcopy ".\external_dependencies\windows" ".\build\windows\x64\runner\Debug\" /y /s
- run: mkdir ".\build\windows\x64\runner\Debug\dlls"
- run: xcopy ".\dlls" ".\build\windows\x64\runner\Debug\dlls" /y /s
- run: xcopy ".\external_dependencies\windows" ".\build\windows\x64\runner\Debug\" /y /s
- uses: actions/upload-artifact@v3
with:
name: thepuzzlecell-windows-debug
path: build/windows/x64/runner/Debug
build_linux:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v3
- uses: subosito/flutter-action@v2
with:
channel: "stable"
- run: flutter pub get
- run: sudo apt install -y libunwind-dev
- run: sudo apt-get install libgstreamer1.0-dev
- run: sudo apt-get install libgstreamer-plugins-base1.0-dev
- run: sudo apt-get install clang cmake ninja-build pkg-config libgtk-3-dev
- run: mkdir -p build/linux/x64/release/bundle/dlls
- run: mkdir -p build/linux/x64/debug/bundle/dlls
- run: cp -r dlls build/linux/x64/release/bundle/dlls
- run: cp -r dlls build/linux/x64/debug/bundle/dlls
- run: flutter config --enable-linux-desktop
- run: flutter build linux
- run: flutter build linux --debug
- uses: actions/upload-artifact@v3
with:
name: thepuzzlecell-linux
path: build/linux/x64/release/bundle
- uses: actions/upload-artifact@v3
with:
name: thepuzzlecell-linux-debug
path: build/linux/x64/debug/bundle
build_macos:
runs-on: macOS-latest
steps:
- uses: actions/checkout@v3
- uses: subosito/flutter-action@v2
with:
channel: "stable"
- run: brew install cmake
- run: gem install cocoapods
- run: flutter pub get
- run: flutter config --enable-macos-desktop
- run: flutter build macos
- uses: actions/upload-artifact@v3
with:
name: thepuzzlecell-macos
path: build/macos/Build/Products/Release