-
Notifications
You must be signed in to change notification settings - Fork 1
47 lines (39 loc) · 955 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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
name: Tests
on:
push:
paths: '**.luau'
branches: 'main'
pull_request:
paths: '**.luau'
jobs:
Tests:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: 'Install Luau'
run: |
gh release download --repo Roblox/luau --pattern luau-ubuntu.zip
unzip luau-ubuntu.zip
env:
GITHUB_TOKEN: ${{ github.token }}
- name: 'Test SHA-1'
run: |
./luau tests/sha1.luau
- name: 'Test SHA-256'
run: |
./luau tests/sha256.luau
- name: 'Test SHA-224'
run: |
./luau tests/sha224.luau
- name: 'Test SHA-512'
run: |
./luau tests/sha512.luau
- name: 'Test SHA-384'
run: |
./luau tests/sha384.luau
- name: 'Test XXH32'
run: |
./luau tests/xxhash32.luau
- name: 'Test BLAKE2s'
run: |
./luau tests/blake2s.luau