Skip to content

Bump webpki from 0.22.0 to 0.22.1 #66

Bump webpki from 0.22.0 to 0.22.1

Bump webpki from 0.22.0 to 0.22.1 #66

Workflow file for this run

name: Build
on:
push:
branches: ["main"]
pull_request:
branches: ["main"]
env:
CARGO_TERM_COLOR: always
jobs:
build:
strategy:
fail-fast: true
matrix:
os: [ubuntu-latest]
target: [x86_64-unknown-linux-gnu, aarch64-unknown-linux-gnu, armv7-unknown-linux-gnueabihf]
include:
- os: windows-latest
target: x86_64-pc-windows-msvc
runs-on: ${{ matrix.os }}
continue-on-error: false
name: Build - ${{ matrix.target }}
steps:
- uses: actions/checkout@v3
- uses: actions-rs/toolchain@v1
with:
toolchain: stable
default: true
override: true
profile: minimal
target: ${{ matrix.target }}
components: clippy
- run: corepack enable && corepack prepare pnpm@latest --activate
- name: frontend setup
shell: bash
run: cd frontend && pnpm install && pnpm build
- name: install alsa headers
run: sudo apt update && sudo apt install -y --no-install-recommends libasound2-dev
if: matrix.target == 'x86_64-unknown-linux-gnu'
- name: run clippy
if: matrix.target == 'x86_64-unknown-linux-gnu'
uses: actions-rs/clippy-check@v1
with:
token: ${{ secrets.GITHUB_TOKEN }}
- uses: actions-rs/cargo@v1
with:
command: build
args: --release --verbose --target ${{ matrix.target }}
use-cross: ${{ matrix.target == 'aarch64-unknown-linux-gnu' || matrix.target == 'armv7-unknown-linux-gnueabihf' }}
- uses: actions/upload-artifact@v3
with:
name: csengo-${{ matrix.target }}
path: |
target/${{ matrix.target }}/release/csengo
target/${{ matrix.target }}/release/csengo.exe
if-no-files-found: error