Skip to content

Commit

Permalink
Update CI once again
Browse files Browse the repository at this point in the history
  • Loading branch information
deminearchiver committed Apr 6, 2024
1 parent 5e7f6e7 commit d0540cc
Show file tree
Hide file tree
Showing 2 changed files with 34 additions and 11 deletions.
41 changes: 32 additions & 9 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,25 +4,26 @@ run-name: Building application
on:
push:
branches: [main]
paths:
- ".github/workflows/build.yml"
- "apps/**"
- "!apps/docs/**"
- "packages/**"
paths-ignore:
- "apps/docs/**"
workflow_dispatch:

jobs:
build:
build-windows:
name: Build (Windows)
strategy:
fail-fast: false
runs-on: windows-latest
steps:
- uses: actions/checkout@v4
- uses: swatinem/rust-cache@v2
- uses: actions/setup-node@v4
with:
node-version: latest
cache: yarn
- name: Install dependencies
run: yarn
- uses: dtolnay/rust-toolchain@stable
- uses: swatinem/rust-cache@v2
- name: Install project dependencies
run: yarn install --immutable
- name: Build
run: yarn workspace @blending/backend build
- uses: actions/upload-artifact@v4
Expand All @@ -37,3 +38,25 @@ jobs:
with:
name: blending-windows-bundle
path: target/release/bundle/
build-linux:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: latest
cache: yarn
- uses: dtolnay/rust-toolchain@stable
- uses: swatinem/rust-cache@v2
- name: Install build dependencies
run: |
sudo apt-get update
sudo apt-get install -y libwebkit2gtk-4.1-dev libappindicator3-dev librsvg2-dev patchelf
- name: Install project dependencies
run: yarn install --immutable
- name: Build
run: yarn workspace @blending/backend build
- uses: actions/upload-artifact@v4
with:
name: blending-linux
path: target/release/
4 changes: 2 additions & 2 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ concurrency:
cancel-in-progress: true

jobs:
build:
deploy:
runs-on: ubuntu-latest
environment:
name: cloudflare-pages
Expand All @@ -34,7 +34,7 @@ jobs:
node-version: latest
cache: yarn
- name: Install dependencies
run: yarn workspaces focus @blending/docs
run: yarn install --immutable
- name: Build
run: yarn workspace @blending/docs build
- name: Deploy
Expand Down

0 comments on commit d0540cc

Please sign in to comment.