Skip to content

Commit

Permalink
Add initial ELF/PE/Wasm file tests
Browse files Browse the repository at this point in the history
  • Loading branch information
philipc committed Aug 26, 2021
1 parent 10ed2ee commit e65f5a9
Show file tree
Hide file tree
Showing 25 changed files with 23,323 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@ jobs:
runs-on: ${{matrix.os}}
steps:
- uses: actions/checkout@v2
with:
submodules: true
- name: Install rustup
run: curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --profile=minimal
- name: Install rust channel
Expand All @@ -33,6 +35,8 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
submodules: true
- run: cargo build --no-default-features --features read
- run: cargo build --no-default-features --features write
- run: cargo build --no-default-features --features read_core,write_core,coff
Expand All @@ -58,6 +62,8 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
submodules: true
- name: Install rustup
run: curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --profile=minimal
- name: Install rust
Expand Down
3 changes: 3 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[submodule "testfiles"]
path = testfiles
url = https://github.com/gimli-rs/object-testfiles
3 changes: 3 additions & 0 deletions crates/examples/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@ edition = "2018"
memmap2 = "0.3"
object = { path = "../..", default-features = false }

[dev-dependencies]
glob = "0.3"

[features]
read = ["object/read"]
default = ["read"]
Expand Down
Loading

0 comments on commit e65f5a9

Please sign in to comment.