-
Notifications
You must be signed in to change notification settings - Fork 5
31 lines (28 loc) · 917 Bytes
/
test.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
name: Test
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
env:
CARGO_TERM_COLOR: always
jobs:
build:
runs-on: ubuntu-latest
container: archlinux
steps:
- uses: actions/checkout@v4
- name: Install dependencies
run: |
yes | pacman -Syu
yes | pacman -S gcc clang cmake alsa-lib fontconfig wayland libgit2 libxkbcommon-x11 openssl zstd pkgconf mold sqlite jq git
- name: Install Rust toolchain
run: |
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y
. "$HOME/.cargo/env"
rustup toolchain install nightly-2024-09-28
rustup default nightly-2024-09-28
- name: Run tests
run: |
. "$HOME/.cargo/env"
cargo test --release -- --skip test_scalar_mul --skip test_constrain_sig --skip test_verify_sig_to_false --skip test_scalar_mul_2 --skip test_scalar_mul_3