Skip to content

Commit

Permalink
Merge pull request #9 from Bytekeeper/linux
Browse files Browse the repository at this point in the history
Linux + wine kind of works; new binary game_table.exe to be able to o…
  • Loading branch information
Bytekeeper committed Feb 23, 2023
2 parents a5f25cd + 289535a commit a0e2413
Show file tree
Hide file tree
Showing 19 changed files with 535 additions and 253 deletions.
15 changes: 11 additions & 4 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,16 @@ jobs:

runs-on: ubuntu-latest

steps:
steps:
- run: sudo apt-get install mingw-w64
- run: rustup target add i686-pc-windows-gnu
- uses: actions/checkout@v3
- name: Build
run: cargo build --verbose
- name: Run tests
run: cargo test --verbose
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
Loading

0 comments on commit a0e2413

Please sign in to comment.