Skip to content

Commit

Permalink
enable build cache on ci
Browse files Browse the repository at this point in the history
  • Loading branch information
waruqi committed Jan 15, 2025
1 parent 914bd30 commit 5d5755b
Show file tree
Hide file tree
Showing 8 changed files with 13 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/android.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@ jobs:
- uses: xmake-io/github-action-setup-xmake@v1
with:
xmake-version: branch@dev
build-cache: true
build-cache-key: 'Android'

- name: Prepare
run: |
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/cross_musl.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@ jobs:
- uses: xmake-io/github-action-setup-xmake@v1
with:
xmake-version: branch@dev
build-cache: true
build-cache-key: ${{ matrix.cross }}

- name: Installation
run: |
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/fedora.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ jobs:
- uses: xmake-io/github-action-setup-xmake@v1
with:
xmake-version: branch@dev
build-cache: true

- name: Tests
env:
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/iphoneos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@ jobs:
- uses: xmake-io/github-action-setup-xmake@v1
with:
xmake-version: branch@dev
build-cache: true
build-cache-key: 'iOS'

- name: Tests
run: |
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ jobs:
- uses: xmake-io/github-action-setup-xmake@v1
with:
xmake-version: branch@dev
build-cache: true

- name: Tests
run: |
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/macos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ jobs:
- uses: xmake-io/github-action-setup-xmake@v1
with:
xmake-version: branch@dev
build-cache: true

- name: Tests
run: |
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/wasm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@ jobs:
- uses: xmake-io/github-action-setup-xmake@v1
with:
xmake-version: branch@dev
build-cache: true
build-cache-key: 'Wasm'

- name: Tests
run: |
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@ jobs:
- uses: xmake-io/github-action-setup-xmake@v1
with:
xmake-version: branch@dev
build-cache: true
build-cache-key: ${{ matrix.arch }}

- name: Tests
run: |
Expand Down

0 comments on commit 5d5755b

Please sign in to comment.