mirror of
https://github.com/PCSX2/pcsx2.git
synced 2025-12-16 04:08:48 +00:00
Remove unneeded quotation marks. linux-workflow.yml: Checkout Submodules: Shorten --jobs to -j, use $(getconf _NPROCESSORS_ONLN). Make restore-keys into one line. Remove unneeded ./. macos-workflow.yml: Checkout Submodules: Shorten --jobs to -j. Use $(getconf _NPROCESSORS_ONLN) instead of 2. Move HOMEBREW_NO_INSTALL_CLEANUP to env: and add HOMEBREW_NO_ANALYTICS. Remove unneeded ./. pr-triage.yml: Make on: pull_request_target into one line. Properly capitalize GitHub. compile.sh: Add warning when running outside of GitHub Actions CI. Use $(getconf _NPROCESSORS_ONLN). validate-vs-filters.ps1: End of file newline. windows-workflow.yml: Rename config to configuration. Opt out of PowerShell telemetry. Checkout Submodules: Shorten --jobs to -j, use $env:NUMBER_OF_PROCESSORS. Remove unneeded shell from Verify VS Project Files. setup-msbuild: Use v1. (always the latest version) Remove useless vs-version parameter. Remove unneeded ./ and .\. Add -p to mkdir. .gitmodules: Make submodules shallow. build.sh: Move parameters from shebang to set. Consistent formatting for ifs. Use $(getconf _NPROCESSORS_ONLN).
22 lines
407 B
Bash
Executable File
22 lines
407 B
Bash
Executable File
#!/bin/bash
|
|
|
|
set -e
|
|
|
|
if [ -n "${GITHUB_ACTIONS}" ]; then
|
|
echo "Warning: Running this script outside of GitHub Actions isn't recommended."
|
|
fi
|
|
|
|
export CCACHE_BASEDIR=${GITHUB_WORKSPACE}
|
|
export CCACHE_DIR=${GITHUB_WORKSPACE}/.ccache
|
|
export CCACHE_COMPRESS="true"
|
|
export CCACHE_COMPRESSLEVEL="6"
|
|
export CCACHE_MAXSIZE="400M"
|
|
|
|
# Prepare the Cache
|
|
ccache -p
|
|
ccache -z
|
|
# Build
|
|
ninja
|
|
# Save the Cache
|
|
ccache -s
|