fix: more unlocalizable messages #27
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build Quickgui 🏗️ | |
on: | |
pull_request: | |
branches: | |
- main | |
push: | |
branches: | |
- main | |
workflow_dispatch: | |
# TODO: arm64 runner | |
# https://github.blog/changelog/2024-06-03-actions-arm-based-linux-and-windows-runners-are-now-in-public-beta/ | |
jobs: | |
build-linux-x64: | |
runs-on: ubuntu-22.04 | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: subosito/flutter-action@v2 | |
with: | |
channel: stable | |
architecture: x64 | |
flutter-version-file: pubspec.yaml | |
- name: Install system dependencies 📦️ | |
run: sudo apt-get install -y clang cmake ninja-build pkg-config libgtk-3-0 libgtk-3-dev libblkid1 liblzma5 | |
- name: Install Flutter dependencies 🦋 | |
run: flutter pub get | |
- name: Enable Linux build 🐧 | |
run: flutter config --enable-linux-desktop | |
- name: Build artifacts 🏗️ | |
run: flutter build linux --release | |
- name: Show artifacts 👀 | |
run: tree build/linux/x64/release/bundle | |
- name: Upload artifacts ⤴️ | |
uses: actions/upload-artifact@v4 | |
with: | |
name: Quickgui-${{github.run_number}}-linux-x64 | |
path: build/linux/x64/release/bundle | |
overwrite: true | |
build-with-nix: | |
runs-on: ubuntu-22.04 | |
permissions: | |
id-token: "write" | |
contents: "read" | |
steps: | |
- uses: "actions/checkout@v4" | |
- uses: "DeterminateSystems/nix-installer-action@v12" | |
- uses: "DeterminateSystems/magic-nix-cache-action@v7" | |
- name: "Build with Nix ❄️" | |
run: | | |
nix build .#quickgui | |
tree ./result | |