-
Notifications
You must be signed in to change notification settings - Fork 3
45 lines (42 loc) · 1.18 KB
/
web_app.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
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