-
Notifications
You must be signed in to change notification settings - Fork 27
57 lines (54 loc) · 1.91 KB
/
darwin-i386.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
48
49
50
51
52
53
54
55
56
57
name: darwin-i386
on:
push:
branches: [master]
pull_request:
branches: [master]
env:
CARGO_TERM_COLOR: always
jobs:
darwin-i386-latest:
runs-on: macos-latest
steps:
- uses: actions/checkout@v4
- name: Brew packages
# Initial unlik due to https://github.com/pypa/pipenv/issues/3831
run: |
brew update
rm '/usr/local/bin/2to3'
rm '/usr/local/bin/2to3-3.12'
rm '/usr/local/bin/idle3'
rm '/usr/local/bin/idle3.12'
rm '/usr/local/bin/pydoc3'
rm '/usr/local/bin/pydoc3.12'
rm '/usr/local/bin/python3'
rm '/usr/local/bin/python3-config'
rm '/usr/local/bin/python3.12'
rm '/usr/local/bin/python3.12-config'
rm '/usr/local/share/man/man1/python3.1'
rm '/usr/local/lib/pkgconfig/python3-embed.pc'
rm '/usr/local/lib/pkgconfig/python3.pc'
rm '/usr/local/Frameworks/Python.framework/Headers'
rm '/usr/local/Frameworks/Python.framework/Python'
rm '/usr/local/Frameworks/Python.framework/Resources'
rm '/usr/local/Frameworks/Python.framework/Versions/Current'
brew install gdb curl python llvm \
openjdk ca-certificates gnupg
brew update && brew install nodejs
- name: Build
run: cargo build --all-features --verbose
- name: NPM packages
run: |
sudo npm install -g jsfuzz
sudo npm install --save-dev @jazzer.js/core
- name: Rust packages
run: |
curl https://sh.rustup.rs -o rustup.sh && chmod +x rustup.sh && \
./rustup.sh -y && rm rustup.sh
rustup install nightly
export PATH=/root/.cargo/bin:$PATH
cargo install cargo-fuzz
- name: Run tests
run: |
cargo test --release --verbose --lib -- --test-threads 1
cargo test --release --verbose --package casr