Skip to content

Bump h2 from 0.3.24 to 0.3.26 #42

Bump h2 from 0.3.24 to 0.3.26

Bump h2 from 0.3.24 to 0.3.26 #42

Workflow file for this run

name: Rust
on:
push:
branches: [ "master" ]
pull_request:
branches: [ "master" ]
env:
CARGO_TERM_COLOR: always
jobs:
build:
runs-on: ubuntu-latest
steps:
- run: sudo apt-get install mingw-w64
- run: rustup target add i686-pc-windows-gnu
- uses: actions/checkout@v3
- name: Build
run: make
- run: 7za a -- bwaishotgun-linux.7z target/x86_64-unknown-linux-gnu/release/bwaishotgun target/i686-pc-windows-gnu/release/game_table.exe bots tools tm SNP_DirectIP.snp game.toml shotgun.toml
- run: 7za rn -- bwaishotgun-linux.7z target/x86_64-unknown-linux-gnu/release/bwaishotgun BWAIShotgun
- run: 7za rn -- bwaishotgun-linux.7z target/i686-pc-windows-gnu/release/game_table.exe tools/game_table.exe
- name: 'Upload Release Candidate'
uses: actions/upload-artifact@v3
with:
path: bwaishotgun-linux.7z
build-win:
runs-on: windows-latest
steps:
- name: Checkout
uses: actions/checkout@v1
- uses: dtolnay/rust-toolchain@stable
with:
targets: i686-pc-windows-msvc
- name: Build for Windows
run: make
- run: 7za a -- bwaishotgun-linux.7z target/release/bwaishotgun.exe bots tools tm SNP_DirectIP.snp game.toml shotgun.toml
- run: 7za rn -- bwaishotgun-linux.7z target/release/bwaishotgun.exe BWAIShotgun.exe
- name: 'Upload Release Candidate'
uses: actions/upload-artifact@v3
with:
path: bwaishotgun-windows.7z
build-mac:
runs-on: macos-latest
steps:
- name: Checkout
uses: actions/checkout@v1
- uses: dtolnay/rust-toolchain@stable
with:
targets: i686-pc-windows-gnu
- name: Build for Mac
run: make
- run: 7za a -- bwaishotgun-mac.7z target/release/bwaishotgun target/i686-pc-windows-gnu/release/game_table.exe bots tools tm SNP_DirectIP.snp game.toml shotgun.toml
- run: 7za rn -- bwaishotgun-mac.7z target/release/bwaishotgun BWAIShotgun
- run: 7za rn -- bwaishotgun-mac.7z target/i686-pc-windows-gnu/release/game_table.exe tools/game_table.exe
- name: 'Upload Release Candidate'
uses: actions/upload-artifact@v3
with:
path: bwaishotgun-mac.7z