Skip to content

Commit

Permalink
chore: 🔧 try macos and windows
Browse files Browse the repository at this point in the history
  • Loading branch information
stormslowly committed Aug 8, 2024
1 parent 711611d commit f3e65ed
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,11 @@ name: CI
on:
workflow_dispatch:
push:
branches: [master]
branches: [ master ]
paths-ignore:
- '**/*.md'
pull_request:
types: [opened, synchronize]
types: [ opened, synchronize ]
paths-ignore:
- '**/*.md'

Expand Down Expand Up @@ -48,7 +48,7 @@ jobs:
strategy:
fail-fast: false
matrix:
os: [ ubuntu-latest ]
os: [ ubuntu-latest, windows-latest, macos-latest ]
runs-on: ${{ matrix.os }}
if: ${{ !startsWith(github.event.head_commit.message, 'release:') && !startsWith(github.event.head_commit.message, 'ci:') && !startsWith(github.event.head_commit.message, 'docs:') }}
steps:
Expand All @@ -60,7 +60,7 @@ jobs:
uses: ./.github/actions/rustup
with:
clippy: true
save-cache: true
save-cache: true
shared-key: mako-build-${{ matrix.os }}-${{ steps.week_mark.outputs.EXPIRES_WEEK_MARK }}-${{ hashFiles('./Cargo.lock') }}
- name: Install pnpm
uses: pnpm/action-setup@v4
Expand All @@ -82,7 +82,7 @@ jobs:
./packages/mako/*.node
./packages/mako/binding.*
./packages/mako/dist
if-no-files-found: error
if-no-files-found: error
test_e2e:
name: E2E
needs: build
Expand All @@ -91,7 +91,7 @@ jobs:
matrix:
script: [ "test:e2e", "test:hmr", "test:umi" ]
os: [ ubuntu-latest ]
runs-on: ${{ matrix.os }}
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
- name: Install pnpm
Expand All @@ -106,11 +106,11 @@ jobs:
- run: |
pnpm i
pnpm playwright install chromium
- name: Download bindings
uses: actions/download-artifact@v4
with:
name: bindings-${{ matrix.os }}
name: bindings-${{ matrix.os }}
path: packages/mako/
- name: LS
run: ls -l ./packages/mako
Expand All @@ -131,7 +131,7 @@ jobs:
with:
clippy: true
shared-key: x86-cargo-test-ubuntu-latest-${{ steps.week_mark.outputs.EXPIRES_WEEK_MARK }}-${{ hashFiles('./Cargo.lock') }}

- name: Clippy
run: cargo clippy --locked -- -D warnings

Expand Down

0 comments on commit f3e65ed

Please sign in to comment.