Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 14 additions & 0 deletions .github/actions/ccache-summary/action.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
name: 'ccache statistics'
description: 'Print job summary with selected ccache statistics'

inputs:
name:
description: 'Label to print in summary'
required: true

runs:
using: composite
steps:
- name: Log ccache stats
run: ccache -s > $GITHUB_STEP_SUMMARY
shell: bash
43 changes: 43 additions & 0 deletions .github/actions/prepare-android/action.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
name: Prepare Android environment
description: Prepare Android environment and set up the project

inputs:
free-disk-space:
description: 'Whether to free disk space on the runner'
required: false
default: 'true'

run-yarn-build:
description: 'Whether to run yarn build'
required: false
default: 'true'

runs:
using: composite
steps:
- name: Validate Gradle Wrapper
uses: gradle/actions/wrapper-validation@6f229686ee4375cc4a86b2514c89bac4930e82c4 # v5

- name: Setup Java
uses: actions/setup-java@5d7b2146334bacf88728daaa70414a99f5164e0f # v5
with:
distribution: 'zulu'
java-version: '17'

- name: Free Disk Space (Ubuntu)
if: inputs.free-disk-space == 'true'
uses: jlumbroso/free-disk-space@54081f138730dfa15788a46383842cd2f914a1be # v1.3.1
with:
tool-cache: false

android: false
dotnet: true
haskell: true
large-packages: false
docker-images: true
swap-storage: false

- name: Build packages
if: inputs.run-yarn-build == 'true'
run: yarn build
shell: bash
27 changes: 27 additions & 0 deletions .github/actions/prepare-ios/action.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: Prepare iOS environment
description: Prepare iOS environment and set up the project

inputs:
run-yarn-build:
description: 'Whether to run yarn build'
required: false
default: 'true'

runs:
using: composite
steps:
- name: Use appropriate Xcode version
uses: maxim-lobanov/setup-xcode@60606e260d2fc5762a71e64e74b2174e8ea3c8bd # v1.6.0
with:
xcode-version: '26'

- name: Setup Ruby
uses: ruby/setup-ruby@5dd816ae0186f20dfa905997a64104db9a8221c7 # v1.280.0
with:
ruby-version: '3.2'
bundler-cache: true

- name: Build packages
if: inputs.run-yarn-build == 'true'
run: yarn build
shell: bash
17 changes: 12 additions & 5 deletions .github/actions/setup/action.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,12 @@
name: Setup
description: Setup Node.js and install dependencies

inputs:
restore-turbo-cache:
description: 'Whether to restore the Turbo cache'
required: false
default: 'true'

runs:
using: composite
steps:
Expand All @@ -10,7 +16,12 @@ runs:
node-version: 'lts/*'
cache: 'yarn'

- name: Restore turbo cache
- name: Install dependencies
run: yarn install
shell: bash

- name: Restore Turbo cache
if: inputs.restore-turbo-cache == 'true'
uses: actions/cache@9255dc7a253b0ccc959486e2bca901246202afeb # v5
with:
path: |
Expand All @@ -20,7 +31,3 @@ runs:
key: ${{ runner.os }}-turbo-${{ hashFiles('.turbo', '**/.turbo') }}
restore-keys: |
${{ runner.os }}-turbo-

- name: Install dependencies
run: yarn install
shell: bash
Loading