Skip to content

Commit

Permalink
Attempt to fix CRIU usage on GitHub Actions
Browse files Browse the repository at this point in the history
See gh-63
  • Loading branch information
snicoll committed Jul 22, 2024
1 parent e5a9485 commit efd6ee2
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/smoke-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,10 @@ jobs:
java-version: '17'
java-package: 'jdk+crac'
distribution: 'zulu'
- name: Set up CRIU
run: |
sudo chown root:root $(find /opt/hostedtoolcache -name criu -type f)
sudo chmod +s $(find /opt/hostedtoolcache -name criu -type f)
- name: Set up Gradle
uses: gradle/gradle-build-action@982da8e78c05368c70dac0351bb82647a9e9a5d2
- name: Configure Gradle user.name
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,10 @@ jobs:
java-version: '17'
java-package: 'jdk+crac'
distribution: 'zulu'
- name: Set up CRIU
run: |
sudo chown root:root $(find /opt/hostedtoolcache -name criu -type f)
sudo chmod +s $(find /opt/hostedtoolcache -name criu -type f)
- name: Set up Gradle
uses: gradle/gradle-build-action@982da8e78c05368c70dac0351bb82647a9e9a5d2
- name: Configure Gradle user.name
Expand Down

0 comments on commit efd6ee2

Please sign in to comment.