Skip to content

Commit efd6ee2

Browse files
committed
Attempt to fix CRIU usage on GitHub Actions
See gh-63
1 parent e5a9485 commit efd6ee2

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

.github/workflows/smoke-test.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,10 @@ jobs:
3434
java-version: '17'
3535
java-package: 'jdk+crac'
3636
distribution: 'zulu'
37+
- name: Set up CRIU
38+
run: |
39+
sudo chown root:root $(find /opt/hostedtoolcache -name criu -type f)
40+
sudo chmod +s $(find /opt/hostedtoolcache -name criu -type f)
3741
- name: Set up Gradle
3842
uses: gradle/gradle-build-action@982da8e78c05368c70dac0351bb82647a9e9a5d2
3943
- name: Configure Gradle user.name

gradle/plugins/lifecycle-smoke-test-ci-plugin/src/main/resources/smoke-test.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,10 @@ jobs:
3434
java-version: '17'
3535
java-package: 'jdk+crac'
3636
distribution: 'zulu'
37+
- name: Set up CRIU
38+
run: |
39+
sudo chown root:root $(find /opt/hostedtoolcache -name criu -type f)
40+
sudo chmod +s $(find /opt/hostedtoolcache -name criu -type f)
3741
- name: Set up Gradle
3842
uses: gradle/gradle-build-action@982da8e78c05368c70dac0351bb82647a9e9a5d2
3943
- name: Configure Gradle user.name

0 commit comments

Comments
 (0)