🚧 wip: fshjdjga

This commit is contained in:
Pauline 2024-08-04 05:50:35 +02:00
parent d8d68828e1
commit 6bd733bf04
No known key found for this signature in database
GPG key ID: 722BB181973296AE
4 changed files with 20 additions and 19 deletions

View file

@ -19,19 +19,19 @@ inputs:
runs:
using: composite
steps:
- name: (macOS) - Install bash@latest
- name: (macOS) Install bash@latest
shell: bash
if: ${{ runner.os == 'macOS' }}
run: brew install bash
- name: (linux) - Install mold@latest
- name: (Linux) Install mold@latest
shell: bash
if: ${{ runner.os == 'Linux' }}
run: |
curl -L# 'https://github.com/rui314/mold/releases/download/v2.32.1/mold-2.32.1-x86_64-linux.tar.gz' \
| sudo tar -xzf- -C /usr/local
- name: (linux) - Cleanup Runner
- name: (Linux) Cleanup Runner
shell: bash
if: ${{ runner.os == 'Linux' }}
run: |
@ -49,12 +49,13 @@ runs:
target: ${{ inputs.target }}
save-cache: ${{ inputs.save-cache }}
- name: (linux/macOS) - Setup System
- name: (Linux/macOS) - Setup System
shell: bash
if: ${{ runner.os == 'Linux' || runner.os == 'macOS' }}
run: ./packages/scripts/setup.sh ${{ inputs.setup-arg }}
- name: (windows) - Setup System
- name: (Windows) - Setup System
if: ${{ runner.os == 'Windows' }}
shell: powershell
run: ./packages/scripts/setup.ps1

View file

@ -46,7 +46,7 @@ jobs:
permissions:
contents: read
steps:
- name: Maximize build space
- name: (Linux) Maximize build space
if: ${{ runner.os == 'Linux' }}
uses: easimon/maximize-build-space@fc881a613ad2a34aca9c9624518214ebc21dfc0c
with:
@ -60,7 +60,7 @@ jobs:
- name: Checkout
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332
- name: (windows) - Setup Target
- name: (Windows) Setup Target
if: ${{ runner.os == 'Windows' }}
shell: powershell
run: |
@ -114,7 +114,7 @@ jobs:
permissions:
contents: read
steps:
- name: Maximize build space
- name: (Linux) Maximize build space
if: ${{ runner.os == 'Linux' }}
uses: easimon/maximize-build-space@fc881a613ad2a34aca9c9624518214ebc21dfc0c
with:
@ -128,7 +128,7 @@ jobs:
- name: Checkout
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332
- name: (windows) - Setup Target
- name: (Windows) Setup Target
if: ${{ runner.os == 'Windows' }}
shell: powershell
run: |

View file

@ -42,7 +42,7 @@ jobs:
permissions: {}
timeout-minutes: 150
steps:
- name: Maximize build space
- name: (Linux) Maximize build space
if: ${{ runner.os == 'Linux' }}
uses: easimon/maximize-build-space@fc881a613ad2a34aca9c9624518214ebc21dfc0c
with:
@ -56,7 +56,7 @@ jobs:
- name: Checkout
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332
- name: (windows) - Setup Target
- name: (Windows) Setup Target
if: ${{ runner.os == 'Windows' }}
shell: powershell
run: |
@ -70,17 +70,17 @@ jobs:
target: ${{ matrix.settings.target }}
save-cache: 'true'
- name: (debug) - Test
- name: (Debug) Test
run: cargo test --workspace --all-features --no-run --locked --target ${{ matrix.settings.target }}
- name: (release) - Test
- name: (Release) Test
run: cargo test --workspace --all-features --no-run --locked --release --target ${{ matrix.settings.target }}
- name: (debug) - Build
- name: (Debug) Build
run: cargo build --quiet --workspace --all-features --target ${{ matrix.settings.target }}
- name: (release) - Build
- name: (Release) Build
run: cargo build --quiet --workspace --all-features --release --target ${{ matrix.settings.target }}
- name: (debug) - Clippy
- name: (Debug) Clippy
run: cargo clippy --workspace --all-features --target ${{ matrix.settings.target }}

View file

@ -39,7 +39,7 @@ jobs:
name: Desktop (${{ matrix.settings.target }})
runs-on: ${{ matrix.settings.host }}
steps:
- name: Maximize build space
- name: (Linux) Maximize build space
if: ${{ runner.os == 'Linux' }}
uses: easimon/maximize-build-space@fc881a613ad2a34aca9c9624518214ebc21dfc0c
with:
@ -53,7 +53,7 @@ jobs:
- name: Checkout
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332
- name: (windows) - Setup Target
- name: (Windows) Setup Target
if: ${{ runner.os == 'Windows' }}
shell: powershell
run: |
@ -103,7 +103,7 @@ jobs:
# APPLE_API_KEY: $ {{ secrets.APPLE_API_KEY }}
# SENTRY_AUTH_TOKEN: $ {{ secrets.SENTRY_AUTH_TOKEN }}
- name: (linux) - Build Frontend
- name: (Linux) Build Frontend
if: ${{ runner.os == 'Linux' }}
run: |
set -eux