-
Notifications
You must be signed in to change notification settings - Fork 74
44 lines (39 loc) · 1.31 KB
/
rust-nightly-bleeding-edge.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
name: Linux Nightly Bleeding Edge
# use the LATEST version of the Rust nightly toolchain to test qsv.
# This will often fail, but it's useful to see if the code is working.
# Most failures are due to polars being pinned to a specific nightly version.
# See rust-polars-pinned-nightly.yml for a nightly build that is known to
# work with polars.
on:
schedule:
- cron: "0 */24 * * *"
workflow_dispatch:
env:
CARGO_TERM_COLOR: always
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5.0.0
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:
# get the LATEST rust nightly
toolchain: nightly
profile: minimal
components: rust-src
target: x86_64-unknown-linux-gnu
override: true
default: true
- name: Run tests
env:
# RUSTFLAGS: -C target-feature=+fxsr,+sse,+sse2,+sse3,+ssse3,+sse4.1,+sse4.2,+popcnt,+avx,+fma
RUSTFLAGS: -C target-cpu=native
run: cargo test --verbose --locked --features=apply,fetch,foreach,geocode,luau,python,feature_capable,nightly,to,polars