Support mounting a physical CD-ROM drive on Windows #935
Workflow file for this run
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 - Linux x64 | |
| on: | |
| push: | |
| branches: [ "master" ] | |
| paths-ignore: | |
| - 'README.md' | |
| - 'docs/**' | |
| pull_request: | |
| branches: [ "master" ] | |
| paths-ignore: | |
| - 'README.md' | |
| - 'docs/**' | |
| env: | |
| CARGO_TERM_COLOR: always | |
| CARGO_PROFILE_RELEASE_LTO: fat | |
| jobs: | |
| build: | |
| strategy: | |
| matrix: | |
| arch: [x86_64, aarch64] | |
| name: Linux-${{ matrix.arch }} | |
| runs-on: ${{ matrix.arch == 'x86_64' && 'ubuntu-latest' || 'ubuntu-24.04-arm' }} | |
| steps: | |
| - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 | |
| - name: Update package repos | |
| run: sudo apt-get -y update | |
| - name: Install prerequisites | |
| run: sudo apt-get -y install libasound2-dev python3 | |
| - name: Fetch submodules | |
| run: git submodule update --init --recursive | |
| - name: Download pinned Rust toolchain | |
| run: rustup show | |
| - name: Enable Rust compiler cache | |
| uses: Swatinem/rust-cache@c19371144df3bb44fab255c43d04cbc2ab54d1c4 # v2.9.1 | |
| - name: Build release | |
| run: cargo build --verbose --release --all | |
| - name: GUI Create packaging directory | |
| run: mkdir snow-gui | |
| - name: GUI Gather files | |
| run: cp target/release/snowemu snow-gui/snowemu | |
| - name: GUI Upload artifact | |
| uses: actions/upload-artifact@bbbca2ddaa5d8feaa63e36b76fdaad77386f024f # v7.0.0 | |
| with: | |
| name: 'Snow Linux (${{ matrix.arch }})' | |
| if-no-files-found: error | |
| path: snow-gui/* |