Bump cached from 0.50.0 to 0.52.0 #41
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: On Pull Request To Main (Linux) | |
on: | |
pull_request: | |
paths: | |
- "**.rs" | |
- "**/Cargo.lock" | |
- "**/Cargo.toml" | |
- "**/package.json" | |
- "**.svelte" | |
- "**.js" | |
- "**.ts" | |
branches: | |
- main | |
env: | |
CLICOLOR_FORCE: 1 | |
jobs: | |
pre-merge: | |
name: Pre-merge checks | |
strategy: | |
fail-fast: true | |
matrix: | |
arch: [x86_64, aarch64] | |
runs-on: ubuntu-latest | |
container: | |
image: rust:1-bookworm | |
env: | |
PKG_CONFIG_ALLOW_CROSS: 1 | |
PKG_CONFIG_PATH: /usr/lib/${{ matrix.arch }}-linux-gnu/pkgconfig/:${PKG_CONFIG_PATH} | |
CARGO_TARGET_AARCH64_UNKNOWN_LINUX_GNU_LINKER: aarch64-linux-gnu-gcc | |
AR_aarch64_unknown_linux_gnu: aarch64-linux-gnu-ar | |
CC_aarch64_unknown_linux_gnu: aarch64-linux-gnu-gcc | |
CXX_aarch64_unknown_linux_gnu: aarch64-linux-gnu-g++ | |
env: | |
RUST_BACKTRACE: full | |
steps: | |
- name: Checkout Repository | |
uses: actions/checkout@v3 | |
- uses: Swatinem/rust-cache@v2 | |
with: | |
shared-key: ${{ runner.target }}-rust-cache | |
- uses: extractions/setup-just@v1 | |
- name: Build player ${{ matrix.arch }} | |
run: just build-player ${{ matrix.arch }}-unknown-linux-gnu |