Implement the basic audio engine. #476
Workflow file for this run
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
on: | |
push: | |
pull_request: | |
branches: | |
- main | |
name: Build | |
env: | |
CARGO_TERM_COLOR: always | |
jobs: | |
build: | |
name: Build | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Install build dependencies | |
run: sudo apt install libasound2-dev | |
- name: Build Korangar (release) | |
run: cargo build | |
- name: Build Korangar (debug) | |
run: cargo build --features "debug" | |
- name: Generate ragnarok_packets.json (for bindgen) | |
run: cargo rustdoc -p ragnarok_packets -- -Z unstable-options --output-format json | |
- name: Save ragnarok_packets.json as artifact | |
uses: actions/upload-artifact@v4 | |
with: | |
name: ragnarok_packets.json | |
path: target/doc/ragnarok_packets.json |