Skip to content

Commit

Permalink
WIP
Browse files Browse the repository at this point in the history
Signed-off-by: Alberto Faria <[email protected]>
  • Loading branch information
albertofaria committed Apr 23, 2024
1 parent 4186e59 commit 9c6a767
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 12 deletions.
20 changes: 10 additions & 10 deletions .packit.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -39,22 +39,22 @@ jobs:
project: podman-next
enable_net: true

# Unit tests
# Lint
- job: tests
trigger: pull_request
skip_build: true
targets:
- fedora-all-aarch64
- fedora-all-x86_64
identifier: unit_test
tmt_plan: "/plans/unit_test"
# Only need to test on one target
- fedora-latest-stable-x86_64
identifier: lint
tmt_plan: /plans/lint

# Validate test
# Test
- job: tests
trigger: pull_request
skip_build: true
targets:
# Only need to test on one target
- fedora-latest-stable-x86_64
identifier: validate_test
tmt_plan: "/plans/validate_test"
- fedora-all-aarch64
- fedora-all-x86_64
identifier: test
tmt_plan: /plans/test
2 changes: 1 addition & 1 deletion plans/main.fmf
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ prepare:
summary: Test
execute:
how: tmt
script: PATH=$PATH:/root/.cargo/bin make test
script: PATH=$PATH:/root/.cargo/bin LIBGUESTFS_BACKEND=direct make test

/lint:
summary: Lint
Expand Down
3 changes: 2 additions & 1 deletion tests/env.sh
Original file line number Diff line number Diff line change
Expand Up @@ -107,8 +107,9 @@ __rel() {

__build_runtime() {
__big_log 33 'Building crun-vm...'
__log_and_run cargo build --manifest-path "$( __rel "$repo_root/Cargo.toml" )"
__log_and_run cargo build -C "$( __rel "$repo_root" )"
runtime=$repo_root/target/debug/crun-vm
ls -lhiZ "$runtime"
}

__extra_cleanup() { :; }
Expand Down

0 comments on commit 9c6a767

Please sign in to comment.