Remove deep-cut polygon generator (for now) #27
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
| # Cache dependencies on main branch to speed up releases | |
| name: Cache dependencies | |
| on: | |
| push: | |
| branches: ["main"] | |
| workflow_dispatch: | |
| env: | |
| CARGO_TERM_COLOR: always | |
| jobs: | |
| windows: | |
| name: Build Windows latest | |
| runs-on: windows-latest | |
| steps: | |
| - uses: actions/checkout@v5 | |
| - run: rustup toolchain install stable --profile minimal | |
| - uses: Swatinem/rust-cache@v2 | |
| - name: Build Hyperspeedcube | |
| run: cargo build --release | |
| linux: | |
| name: Build Linux latest | |
| runs-on: ubuntu-24.04 | |
| steps: | |
| - uses: actions/checkout@v5 | |
| - run: rustup toolchain install stable --profile minimal | |
| - uses: Swatinem/rust-cache@v2 | |
| - name: Update apt | |
| run: sudo apt update | |
| - name: Install egui dependencies | |
| run: sudo apt install libxcb-render0-dev libxcb-shape0-dev libxcb-xfixes0-dev libspeechd-dev libxkbcommon-dev libssl-dev | |
| - name: Install Rusty File Dialog dependencies | |
| run: sudo apt install libgtk-3-dev | |
| - name: Install XKB/XCB dev dependencies | |
| run: sudo apt install libxkbcommon-dev libxkbcommon-x11-dev libxcb1-dev libxcb-xinput-dev | |
| - name: Build Hyperspeedcube | |
| run: cargo build --release | |
| macos: | |
| name: Build macOS latest | |
| runs-on: macos-latest | |
| steps: | |
| - uses: actions/checkout@v5 | |
| - run: rustup toolchain install stable --profile minimal | |
| - run: rustup target add x86_64-apple-darwin | |
| - uses: Swatinem/rust-cache@v2 | |
| - name: Install cargo-bundle | |
| uses: baptiste0928/cargo-install@v3 | |
| with: | |
| crate: cargo-bundle | |
| version: latest | |
| - name: Build Hyperspeedcube (arm64) | |
| run: cargo build --release | |
| - name: Build Hyperspeedcube (x86_64) | |
| run: cargo build --release --target=x86_64-apple-darwin |