move world related stuff to its own folder #23
This file contains hidden or 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: build | |
| on: | |
| push: | |
| branches: | |
| - master | |
| pull_request: | |
| branches: | |
| - master | |
| env: | |
| CARGO_TERM_COLOR: always | |
| jobs: | |
| lint: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - uses: extractions/setup-just@v3 | |
| - name: Install wayland | |
| run: sudo apt install -y libwayland-dev libudev-dev libasound2-dev pkg-config | |
| - name: Temporarily modify the rust toolchain version | |
| run: rustup override set nightly | |
| - name: Install nightly components | |
| run: | | |
| rustup component add rust-src | |
| rustup component add rustfmt | |
| rustup component add clippy | |
| - name: Format | |
| run: cargo fmt --check | |
| - name: Clippy | |
| run: cargo clippy --verbose | |
| - name: Run tests | |
| run: cargo test --verbose | |
| build-linux: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - uses: extractions/setup-just@v3 | |
| - name: Install wayland | |
| run: sudo apt install -y libwayland-dev libudev-dev libasound2-dev pkg-config | |
| - name: Temporarily modify the rust toolchain version | |
| run: rustup override set nightly | |
| - name: Install nightly components | |
| run: rustup component add rust-src | |
| - name: Build | |
| run: just build_full | |
| - uses: actions/upload-artifact@v7 | |
| with: | |
| name: noiter-linux | |
| path: target/release/noiter | |
| build-windows: | |
| runs-on: windows-latest | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - uses: extractions/setup-just@v3 | |
| - name: Temporarily modify the rust toolchain version | |
| run: rustup override set nightly | |
| - name: Install nightly components | |
| run: rustup component add rust-src | |
| - name: Build | |
| run: just build_full | |
| - uses: actions/upload-artifact@v7 | |
| with: | |
| name: noiter.exe | |
| path: target/release/noiter.exe | |
| build-macos: | |
| runs-on: macos-latest | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - uses: extractions/setup-just@v3 | |
| - name: Temporarily modify the rust toolchain version | |
| run: rustup override set nightly | |
| - name: Install nightly components | |
| run: rustup component add rust-src | |
| - name: Build | |
| run: just build_full | |
| - uses: actions/upload-artifact@v7 | |
| with: | |
| name: noiter-macos | |
| path: target/release/noiter |