mirror of
https://github.com/spacedriveapp/spacedrive.git
synced 2025-12-11 20:15:30 +01:00
Use Apple Silicon runner for release, clippy, and cache factory workflows (#2035)
* Change release workflow to use apple silicon runner * Use apple silicon runner for clippy and cache factory * Update release and cache-factory to macos-14 and part of CI to ubuntu-latest * Revert to ubuntu-latest for creating a release --------- Co-authored-by: Vítor Vasconcellos <vasconcellos.dev@gmail.com>
This commit is contained in:
parent
6e6e5f7674
commit
d83d1533c7
6
.github/workflows/cache-factory.yaml
vendored
6
.github/workflows/cache-factory.yaml
vendored
@ -21,9 +21,9 @@ jobs:
|
|||||||
fail-fast: true
|
fail-fast: true
|
||||||
matrix:
|
matrix:
|
||||||
settings:
|
settings:
|
||||||
- host: macos-latest
|
- host: macos-14
|
||||||
target: x86_64-apple-darwin
|
target: x86_64-apple-darwin
|
||||||
- host: macos-latest
|
- host: macos-14
|
||||||
target: aarch64-apple-darwin
|
target: aarch64-apple-darwin
|
||||||
- host: windows-latest
|
- host: windows-latest
|
||||||
target: x86_64-pc-windows-msvc
|
target: x86_64-pc-windows-msvc
|
||||||
@ -46,7 +46,7 @@ jobs:
|
|||||||
if: ${{ runner.os == 'Linux' }}
|
if: ${{ runner.os == 'Linux' }}
|
||||||
uses: easimon/maximize-build-space@master
|
uses: easimon/maximize-build-space@master
|
||||||
with:
|
with:
|
||||||
swap-size-mb: 3072
|
swap-size-mb: 4096
|
||||||
root-reserve-mb: 6144
|
root-reserve-mb: 6144
|
||||||
remove-dotnet: 'true'
|
remove-dotnet: 'true'
|
||||||
remove-codeql: 'true'
|
remove-codeql: 'true'
|
||||||
|
|||||||
8
.github/workflows/ci.yml
vendored
8
.github/workflows/ci.yml
vendored
@ -15,7 +15,7 @@ concurrency:
|
|||||||
jobs:
|
jobs:
|
||||||
typescript:
|
typescript:
|
||||||
name: TypeScript
|
name: TypeScript
|
||||||
runs-on: ubuntu-20.04
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout repository
|
- name: Checkout repository
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v3
|
||||||
@ -30,7 +30,7 @@ jobs:
|
|||||||
|
|
||||||
eslint:
|
eslint:
|
||||||
name: ESLint
|
name: ESLint
|
||||||
runs-on: ubuntu-20.04
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout repository
|
- name: Checkout repository
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v3
|
||||||
@ -45,7 +45,7 @@ jobs:
|
|||||||
|
|
||||||
rustfmt:
|
rustfmt:
|
||||||
name: Rust Formatting
|
name: Rust Formatting
|
||||||
runs-on: ubuntu-20.04
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Maximize build space
|
- name: Maximize build space
|
||||||
if: ${{ runner.os == 'Linux' }}
|
if: ${{ runner.os == 'Linux' }}
|
||||||
@ -97,7 +97,7 @@ jobs:
|
|||||||
runs-on: ${{ matrix.platform }}
|
runs-on: ${{ matrix.platform }}
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
platform: [ubuntu-20.04, macos-latest, windows-latest]
|
platform: [ubuntu-20.04, macos-14, windows-latest]
|
||||||
steps:
|
steps:
|
||||||
- name: Maximize build space
|
- name: Maximize build space
|
||||||
if: ${{ runner.os == 'Linux' }}
|
if: ${{ runner.os == 'Linux' }}
|
||||||
|
|||||||
4
.github/workflows/release.yml
vendored
4
.github/workflows/release.yml
vendored
@ -9,12 +9,12 @@ jobs:
|
|||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
settings:
|
settings:
|
||||||
- host: macos-latest
|
- host: macos-14
|
||||||
target: x86_64-apple-darwin
|
target: x86_64-apple-darwin
|
||||||
bundles: app,dmg
|
bundles: app,dmg
|
||||||
os: darwin
|
os: darwin
|
||||||
arch: x86_64
|
arch: x86_64
|
||||||
- host: macos-latest
|
- host: macos-14
|
||||||
target: aarch64-apple-darwin
|
target: aarch64-apple-darwin
|
||||||
bundles: app,dmg
|
bundles: app,dmg
|
||||||
os: darwin
|
os: darwin
|
||||||
|
|||||||
2
.github/workflows/server.yml
vendored
2
.github/workflows/server.yml
vendored
@ -8,7 +8,7 @@ on:
|
|||||||
jobs:
|
jobs:
|
||||||
build-server:
|
build-server:
|
||||||
name: Build a docker image for spacedrive server
|
name: Build a docker image for spacedrive server
|
||||||
runs-on: ubuntu-20.04
|
runs-on: ubuntu-latest
|
||||||
defaults:
|
defaults:
|
||||||
run:
|
run:
|
||||||
shell: bash
|
shell: bash
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user