-
Notifications
You must be signed in to change notification settings - Fork 468
46 lines (39 loc) · 1.07 KB
/
build_windows_worker.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: Build Windows Worker
on:
push:
branches:
- "alp/build_windows"
paths:
- "backend/**"
- ".github/workflows/build_windows_worker.yml"
# pull_request:
# types: [opened, synchronize, reopened]
# paths:
# - "backend/**"
# - ".github/workflows/backend-test.yml"
env:
CARGO_INCREMENTAL: 0
DATABASE_URL: postgres://postgres:changeme@postgres:5432/windmill
DISABLE_EMBEDDING: true
RUST_LOG: info
jobs:
cargo_build_windows:
runs-on: windows-latest
container:
image: ghcr.io/windmill-labs/backend-tests
services:
postgres:
image: postgres
env:
POSTGRES_DB: windmill
POSTGRES_PASSWORD: changeme
options: >-
--health-cmd pg_isready --health-interval 10s --health-timeout 5s
--health-retries 5
steps:
- uses: actions/checkout@v4
- name: cargo build windows
timeout-minutes: 15
run: cargo build --release
# mkdir frontend/build && cd backend && touch
# windmill-api/openapi-deref.yaml &&