This repository was archived by the owner on Nov 5, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
55 lines (46 loc) · 1.36 KB
/
test.yml
File metadata and controls
55 lines (46 loc) · 1.36 KB
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
48
49
50
51
52
53
54
55
name: test
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
env:
CARGO_TERM_COLOR: always
defaults:
run:
shell: bash
jobs:
test-rust-parser:
name: target = ${{ matrix.build.target }}
runs-on: ${{ matrix.build.os }}
strategy:
fail-fast: false
matrix:
build:
- { os: ubuntu-latest, features: jemallocator, target: x86_64-unknown-linux-gnu }
- { os: macos-latest, features: jemallocator, target: x86_64-apple-darwin }
- { os: windows-latest, target: x86_64-pc-windows-msvc }
- { os: windows-latest, target: x86_64-pc-windows-gnu }
steps:
- name: checkout
uses: actions/checkout@v3
- name: build rust-parser
uses: ./.github/actions/make-rust-parser
with:
target: ${{ matrix.build.target }}
cargoflags: --features=${{ matrix.build.features }}
build_env: debug
- name: make dummy data
run: make dummy-repos dummy-filelist
- name: test runner
run: ./rust-parser
env:
FILELIST_PATH: dummy-filelist
test-data:
name: repos.zip
runs-on: ubuntu-latest
steps:
- name: checkout
uses: actions/checkout@v3
- name: make repos.zip
uses: ./.github/actions/make-repos-zip