Merge pull request #60 from geoneric/gh55 #5
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: Web app | |
on: | |
pull_request: | |
push: | |
jobs: | |
build: | |
name: ${{ matrix.platform.os }} / ${{ matrix.platform.arch }} / python-${{ matrix.python_version }} | |
runs-on: ${{ matrix.platform.os }} | |
timeout-minutes: 30 | |
defaults: | |
run: | |
shell: bash -l {0} | |
strategy: | |
fail-fast: false | |
matrix: | |
python_version: ["3.12"] | |
platform: | |
- { os: "ubuntu-24.04", arch: x64 } | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Setup Python | |
uses: actions/setup-python@v5 | |
with: | |
python-version: ${{ matrix.python_version }} | |
cache: "pip" | |
cache-dependency-path: "**/requirements*.txt" | |
- name: Install Python packages | |
run: | | |
pip install -r environment/configuration/requirements.txt -r environment/configuration/requirements-dev.txt | |
- name: Setup Flutter | |
uses: subosito/flutter-action@v2 | |
with: | |
flutter-version: "3.24.5" | |
channel: "stable" | |
cache: true | |
- name: Create web app | |
run: | | |
mkdir build | |
cd build | |
cmake -S .. -G Ninja | |
cmake --build . --target web_app |