Skip to content

Merge pull request #1540 from jqnatividad/dependabot/cargo/mlua-0.9.3 #559

Merge pull request #1540 from jqnatividad/dependabot/cargo/mlua-0.9.3

Merge pull request #1540 from jqnatividad/dependabot/cargo/mlua-0.9.3 #559

Workflow file for this run

name: Linux - musl
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
workflow_dispatch:
concurrency:
group: ci-linux-musl-tests-${{ github.ref }}-1
cancel-in-progress: true
env:
CARGO_TERM_COLOR: always
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Maximize build space
uses: easimon/maximize-build-space@master
with:
swap-size-mb: 4096
remove-dotnet: 'true'
remove-android: 'true'
remove-haskell: 'true'
remove-docker-images: 'true'
- name: apt-get update Ubuntu
run: |
sudo apt-get update
- name: build prep for x86_64-unknown-linux-musl
run: |
sudo apt-get install musl-tools musl-dev
sudo ln -s /usr/bin/g++ /usr/bin/musl-g++
- uses: actions/checkout@v4
- uses: actions/[email protected]
with:
python-version: '3.12'
- name: Install and Run Redis
run: |
sudo apt-get install redis-server
sudo service redis-server start
- name: Installing Rust toolchain
uses: actions-rs/toolchain@v1
with:
toolchain: stable
profile: minimal
target: x86_64-unknown-linux-musl
override: true
- name: Setup Rust-cache
uses: Swatinem/rust-cache@v2
with:
key: qsv-x86_64-unknown-linux-musl-cache
- name: Run tests
# env:
# RUSTFLAGS: -C target-feature=+fxsr,+sse,+sse2,+sse3,+ssse3,+sse4.1,+sse4.2,+popcnt,+avx,+fma
run: cargo test --verbose --locked --features=apply,fetch,foreach,geocode,luau,python,polars,to,feature_capable