Skip to content

Commit 5b32280

Browse files
author
Martijn Groeneveldt
authored
Merge branch 'master' into implement-std-error
2 parents 9b2246c + 5e3bf84 commit 5b32280

File tree

20 files changed

+8461
-196
lines changed

20 files changed

+8461
-196
lines changed

.github/workflows/main.yml

Lines changed: 63 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,63 @@
1+
name: CI
2+
3+
on:
4+
push:
5+
branches: [auto]
6+
pull_request:
7+
workflow_dispatch:
8+
9+
jobs:
10+
linux-ci:
11+
name: Linux
12+
runs-on: ubuntu-latest
13+
strategy:
14+
matrix:
15+
toolchain:
16+
- nightly
17+
- beta
18+
- stable
19+
- 1.36.0
20+
features:
21+
-
22+
- --features dummy_match_byte
23+
include:
24+
- toolchain: nightly
25+
features: --features bench
26+
- toolchain: nightly
27+
features: --features bench,dummy_match_byte
28+
steps:
29+
- uses: actions/checkout@v2
30+
31+
- name: Install toolchain
32+
uses: actions-rs/toolchain@v1
33+
with:
34+
profile: minimal
35+
toolchain: ${{ matrix.toolchain }}
36+
override: true
37+
38+
- name: Cargo build
39+
run: cargo build ${{ matrix.features }}
40+
41+
- name: Cargo doc
42+
run: cargo doc ${{ matrix.features }}
43+
44+
- name: Cargo test
45+
run: cargo test ${{ matrix.features }}
46+
47+
- name: macros build
48+
run: cargo build
49+
working-directory: macros
50+
51+
build_result:
52+
name: homu build finished
53+
runs-on: ubuntu-latest
54+
needs:
55+
- "linux-ci"
56+
57+
steps:
58+
- name: Mark the job as successful
59+
run: exit 0
60+
if: success()
61+
- name: Mark the job as unsuccessful
62+
run: exit 1
63+
if: "!success()"

.travis.yml

Lines changed: 0 additions & 15 deletions
This file was deleted.

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "cssparser"
3-
version = "0.27.2"
3+
version = "0.29.2"
44
authors = [ "Simon Sapin <[email protected]>" ]
55

66
description = "Rust implementation of CSS Syntax Level 3"

fuzz/.gitignore

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
2+
target
3+
corpus
4+
artifacts

fuzz/Cargo.lock

Lines changed: 266 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

fuzz/Cargo.toml

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
2+
[package]
3+
name = "cssparser-fuzz"
4+
version = "0.0.0"
5+
authors = ["Automatically generated"]
6+
publish = false
7+
edition = "2018"
8+
9+
[package.metadata]
10+
cargo-fuzz = true
11+
12+
[dependencies]
13+
libfuzzer-sys = "0.4"
14+
15+
[dependencies.cssparser]
16+
path = ".."
17+
18+
# Prevent this from interfering with workspaces
19+
[workspace]
20+
members = ["."]
21+
22+
[[bin]]
23+
name = "cssparser"
24+
path = "fuzz_targets/cssparser.rs"
25+
test = false
26+
doc = false

0 commit comments

Comments
 (0)