-
Notifications
You must be signed in to change notification settings - Fork 0
43 lines (38 loc) · 1012 Bytes
/
sirius.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
name: Sirius
on:
push:
paths:
- "bindings/sirius/**"
branches: ["main"]
pull_request:
paths:
- "bindings/sirius/**"
branches: ["main"]
env:
CARGO_TERM_COLOR: always
jobs:
sirius:
runs-on: ubuntu-latest
environment: Sirius
steps:
- uses: actions/checkout@v2
- name: Retrieve Sirius install script
run: |
wget https://raw.githubusercontent.com/enpkg/enpkg_full/emikg-adapt/src/install_sirius.sh
chmod +x install_sirius.sh
- name: Install Sirius
run: |
bash ./install_sirius.sh
chmod +x ./sirius/bin
- name: Set up Rust
uses: actions-rs/toolchain@v1
with:
toolchain: nightly
override: true
- name: Run tests
env:
SIRIUS_USERNAME: ${{secrets.SIRIUS_USERNAME}}
SIRIUS_PASSWORD: ${{secrets.SIRIUS_PASSWORD}}
run: |
export SIRIUS_PATH=${{vars.SIRIUS_PATH}}
cargo test --test test_sirius