Skip to content

Commit

Permalink
ci: add build jobs for linux and macos
Browse files Browse the repository at this point in the history
  • Loading branch information
luftaquila committed Apr 18, 2024
1 parent 221e159 commit fa8d2ae
Showing 1 changed file with 22 additions and 3 deletions.
25 changes: 22 additions & 3 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,32 @@ env:
CARGO_TERM_COLOR: always

jobs:
build:

build-windows:
runs-on: windows-latest
steps:
- uses: actions/checkout@v4
- name: Build server
run: cargo build --bin transistor-server --verbose
- name: Build client
run: cargo build --bin transistor-client --verbose

build-linux:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Install dependencies
run: sudo apt-get install -y libxi-dev libxtst-dev
- name: Build server
run: xvfb-run cargo build --bin transistor-server --verbose
- name: Build client
run: xvfb-run cargo build --bin transistor-client --verbose

build-macos:
runs-on: macos-latest
steps:
- uses: actions/checkout@v4
- name: Build server
run: cargo build --bin transistor-server --verbose
- name: Build client
run: cargo build --bin transistor-client --verbose

0 comments on commit fa8d2ae

Please sign in to comment.