Demo: VideoCall; characteristics need to be in a list #310
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: Rust Build | |
on: | |
push: | |
branches: [ "main" ] | |
pull_request: | |
branches: [ "main" ] | |
env: | |
CARGO_TERM_COLOR: always | |
jobs: | |
build: | |
strategy: | |
fail-fast: false | |
matrix: | |
rust-channel: ["stable", "beta", "nightly", "1.60.0", "1.70.0", "1.80.0"] | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Install Rust | |
run: | | |
rustup install ${{ matrix.rust-channel }} | |
rustup show | |
rustup --version | |
cargo +${{ matrix.rust-channel }} --version | |
rustc +${{ matrix.rust-channel }} --version | |
- name: Debug Build | |
run: cargo build | |
working-directory: Match Maker Server/ | |
- name: Release Build | |
run: cargo build --release | |
working-directory: Match Maker Server/ | |
- name: Upload build artifacts | |
uses: actions/upload-artifact@v4 | |
with: | |
name: Match Maker Server | |
path: | | |
Match Maker Server/target/debug/match_maker_server-${{ matrix.rust-channel }} | |
Match Maker Server/target/release/match_maker_server-${{ matrix.rust-channel }} |