s390x #104
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: s390x | |
| on: | |
| workflow_dispatch: | |
| concurrency: | |
| group: ci-s390x-tests-${{ github.ref }}-1 | |
| cancel-in-progress: true | |
| env: | |
| CARGO_TERM_COLOR: always | |
| jobs: | |
| build: | |
| runs-on: ubuntu-24.04-s390x | |
| steps: | |
| - name: apt-get update Ubuntu, libwayland-dev | |
| run: | | |
| sudo apt-get update | |
| sudo apt-get install libwayland-dev | |
| sudo apt-get install binutils-s390x-linux-gnu | |
| sudo apt-get -y upgrade | |
| - uses: actions/checkout@v6 | |
| # - uses: actions/setup-python@v6.0.0 | |
| # with: | |
| # python-version: '3.13' | |
| - name: Install and Run Redis | |
| run: | | |
| sudo apt-get install redis-server | |
| sudo service redis-server start | |
| - name: Installing Rust toolchain | |
| uses: dtolnay/rust-toolchain@master | |
| with: | |
| toolchain: stable | |
| targets: s390x-unknown-linux-gnu | |
| - name: Setup Rust-cache | |
| uses: Swatinem/rust-cache@v2 | |
| with: | |
| key: qsv-s390xcache | |
| - name: Run tests | |
| env: | |
| RUSTFLAGS: -C target-cpu=native | |
| # run: cargo test s390x --verbose --locked --features=apply,fetch,foreach,luau,python,feature_capable,ui -- --nocapture | |
| run: cargo test --verbose --locked --features=apply,fetch,foreach,luau,python,feature_capable,ui |