Build - Linux x64 #74
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
name: Build - Linux x64 | |
on: | |
workflow_run: | |
workflows: [Checks and tests] | |
types: | |
- completed | |
env: | |
CARGO_TERM_COLOR: always | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Update package repos | |
run: sudo apt-get -y update | |
- name: Install prerequisites | |
run: sudo apt-get -y install libsdl2-dev python3 | |
- name: Fetch submodules | |
run: git submodule update --init --recursive | |
- name: Build release | |
run: cargo build --verbose --release | |
- name: Upload artifact | |
uses: actions/upload-artifact@v4 | |
with: | |
name: 'snow-linux-x64-gha${{ github.run_number }}' | |
path: target/release/snow_frontend_tui |