Extra debug logging #48
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: | |
| - main | |
| jobs: | |
| release: | |
| name: Release - ${{ matrix.platform.os-name }} | |
| strategy: | |
| matrix: | |
| platform: | |
| - os-name: Linux-armv7 | |
| runs-on: ubuntu-24.04 | |
| target: armv7-unknown-linux-musleabihf | |
| runs-on: ${{ matrix.platform.runs-on }} | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v4 | |
| - name: Build container | |
| run: docker build -t cross-armv7:latest -f armv7.dockerfile . | |
| - name: Install Rust toolchain | |
| uses: actions-rust-lang/setup-rust-toolchain@v1 | |
| with: | |
| rustflags: "" | |
| - name: Install cross | |
| run: cargo install cross --git https://github.com/cross-rs/cross | |
| - name: Build binaries | |
| run: | | |
| cross build --target ${{ matrix.platform.target }} --locked | |
| cross build --target ${{ matrix.platform.target }} --locked --release | |
| - name: Upload debug binary | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: ${{ matrix.platform.os-name }}-debug | |
| path: target/${{ matrix.platform.target }}/debug/atomscreen | |
| - name: Upload release binary | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: ${{ matrix.platform.os-name }} | |
| path: target/${{ matrix.platform.target }}/release/atomscreen |