Skip to content

Commit

Permalink
x
Browse files Browse the repository at this point in the history
  • Loading branch information
littledivy committed Jul 27, 2024
1 parent 890b424 commit 235afd8
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
4 changes: 3 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,13 @@ jobs:
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
runs-on: ${{ matrix.os }}
env:
RUST_BACKTRACE: full

steps:
- uses: actions/checkout@v3
- name: Lint
run: cargo clippy --all-targets --all-features -- -D warnings
run: cargo clippy --all-features -- -D warnings
- name: Test
run: cargo test --all-targets --all-features
- name: Build
Expand Down
6 changes: 3 additions & 3 deletions tests/integration_test.rs
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ fn test_macho(size: usize, sign: bool) {
#[cfg(target_os = "macos")]
let mut out = std::fs::OpenOptions::new()
.write(true)
.truncate(true)
.create(true)
.mode(0o755)
.open(&_path)
.unwrap();
Expand Down Expand Up @@ -128,7 +128,7 @@ fn test_elf(size: usize) {
#[cfg(target_os = "linux")]
let mut out = std::fs::OpenOptions::new()
.write(true)
.truncate(true)
.create(true)
.mode(0o755)
.open(&_path)
.unwrap();
Expand Down Expand Up @@ -167,7 +167,7 @@ fn test_pe(size: usize) {
#[cfg(target_os = "windows")]
let mut out = std::fs::OpenOptions::new()
.write(true)
.truncate(true)
.create(true)
.open(&_path)
.unwrap();
pe.write_resource(RESOURCE_NAME, data)
Expand Down

0 comments on commit 235afd8

Please sign in to comment.