mirror of
https://github.com/spacedriveapp/spacedrive
synced 2024-07-02 10:03:28 +00: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
7aae22e83f
commit
1320dbda46
6
.github/workflows/cache-factory.yaml
vendored
6
.github/workflows/cache-factory.yaml
vendored
|
@ -21,9 +21,9 @@ jobs:
|
|||
fail-fast: true
|
||||
matrix:
|
||||
settings:
|
||||
- host: macos-latest
|
||||
- host: macos-14
|
||||
target: x86_64-apple-darwin
|
||||
- host: macos-latest
|
||||
- host: macos-14
|
||||
target: aarch64-apple-darwin
|
||||
- host: windows-latest
|
||||
target: x86_64-pc-windows-msvc
|
||||
|
@ -46,7 +46,7 @@ jobs:
|
|||
if: ${{ runner.os == 'Linux' }}
|
||||
uses: easimon/maximize-build-space@master
|
||||
with:
|
||||
swap-size-mb: 3072
|
||||
swap-size-mb: 4096
|
||||
root-reserve-mb: 6144
|
||||
remove-dotnet: 'true'
|
||||
remove-codeql: 'true'
|
||||
|
|
8
.github/workflows/ci.yml
vendored
8
.github/workflows/ci.yml
vendored
|
@ -15,7 +15,7 @@ concurrency:
|
|||
jobs:
|
||||
typescript:
|
||||
name: TypeScript
|
||||
runs-on: ubuntu-20.04
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout repository
|
||||
uses: actions/checkout@v3
|
||||
|
@ -30,7 +30,7 @@ jobs:
|
|||
|
||||
eslint:
|
||||
name: ESLint
|
||||
runs-on: ubuntu-20.04
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout repository
|
||||
uses: actions/checkout@v3
|
||||
|
@ -45,7 +45,7 @@ jobs:
|
|||
|
||||
rustfmt:
|
||||
name: Rust Formatting
|
||||
runs-on: ubuntu-20.04
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Maximize build space
|
||||
if: ${{ runner.os == 'Linux' }}
|
||||
|
@ -97,7 +97,7 @@ jobs:
|
|||
runs-on: ${{ matrix.platform }}
|
||||
strategy:
|
||||
matrix:
|
||||
platform: [ubuntu-20.04, macos-latest, windows-latest]
|
||||
platform: [ubuntu-20.04, macos-14, windows-latest]
|
||||
steps:
|
||||
- name: Maximize build space
|
||||
if: ${{ runner.os == 'Linux' }}
|
||||
|
|
4
.github/workflows/release.yml
vendored
4
.github/workflows/release.yml
vendored
|
@ -9,12 +9,12 @@ jobs:
|
|||
strategy:
|
||||
matrix:
|
||||
settings:
|
||||
- host: macos-latest
|
||||
- host: macos-14
|
||||
target: x86_64-apple-darwin
|
||||
bundles: app,dmg
|
||||
os: darwin
|
||||
arch: x86_64
|
||||
- host: macos-latest
|
||||
- host: macos-14
|
||||
target: aarch64-apple-darwin
|
||||
bundles: app,dmg
|
||||
os: darwin
|
||||
|
|
2
.github/workflows/server.yml
vendored
2
.github/workflows/server.yml
vendored
|
@ -8,7 +8,7 @@ on:
|
|||
jobs:
|
||||
build-server:
|
||||
name: Build a docker image for spacedrive server
|
||||
runs-on: ubuntu-20.04
|
||||
runs-on: ubuntu-latest
|
||||
defaults:
|
||||
run:
|
||||
shell: bash
|
||||
|
|
Loading…
Reference in a new issue