Skip to content

Commit

Permalink
Merge pull request #945 from Furisto/fix-ci-compilation
Browse files Browse the repository at this point in the history
Fix CI compilation issues
  • Loading branch information
utam0k authored May 27, 2022
2 parents f6ef575 + cc8bab6 commit ee6b03f
Show file tree
Hide file tree
Showing 4 changed files with 44 additions and 26 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/integration_tests_validation.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
timeout-minutes: 15
strategy:
matrix:
rust: [1.59.0, 1.61.0]
rust: [1.60.0, 1.61.0]
steps:
- uses: actions/checkout@v2
- uses: actions-rs/toolchain@v1
Expand All @@ -42,9 +42,9 @@ jobs:
wget -q https://github.com/opencontainers/runc/releases/download/v1.1.0/runc.amd64
sudo mv runc.amd64 /usr/bin/runc
sudo chmod 755 /usr/bin/runc
- name: Validate tests on runc
run: make validate-rust-tests
- name: Build
run: make release-build
- name: Validate tests on runc
run: make validate-rust-tests
- name: Validate tests on youki
run: make integration-test
8 changes: 4 additions & 4 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ jobs:
timeout-minutes: 15
strategy:
matrix:
rust: [1.59.0, 1.61.0]
rust: [1.60.0, 1.61.0]
dirs: ${{ fromJSON(needs.changes.outputs.dirs) }}
steps:
- uses: actions/checkout@v2
Expand All @@ -55,7 +55,7 @@ jobs:
timeout-minutes: 15
strategy:
matrix:
rust: [1.59.0, 1.61.0]
rust: [1.60.0, 1.61.0]
steps:
- uses: actions/checkout@v2
- uses: actions-rs/toolchain@v1
Expand All @@ -77,7 +77,7 @@ jobs:
- name: Toolchain setup
uses: actions-rs/toolchain@v1
with:
toolchain: 1.60.0
toolchain: 1.61.0
override: true
profile: minimal
components: llvm-tools-preview
Expand Down Expand Up @@ -105,7 +105,7 @@ jobs:
timeout-minutes: 15
strategy:
matrix:
rust: [1.59.0, 1.61.0]
rust: [1.60.0, 1.61.0]
steps:
- uses: actions/checkout@v2
with:
Expand Down
54 changes: 36 additions & 18 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion tests/rust-integration-tests/integration_test/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ nix = "0.24.1"
num_cpus = "1.13"
oci-spec = { git = "https://github.com/containers/oci-spec-rs", rev = "6df620e" }
once_cell = "1.12.0"
pnet = "0.29.0"
pnet = "0.30.0"
procfs = "0.12.0"
rand = "0.8.5"
serde = { version = "1.0", features = ["derive"] }
Expand Down

0 comments on commit ee6b03f

Please sign in to comment.