Skip to content

Commit

Permalink
[TEST] RAMDISK
Browse files Browse the repository at this point in the history
  • Loading branch information
stephanosio committed Nov 9, 2022
1 parent aa10a0d commit ed7f8b8
Showing 1 changed file with 17 additions and 1 deletion.
18 changes: 17 additions & 1 deletion .github/workflows/twister.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
runs-on: test-runner
container:
image: ghcr.io/zephyrproject-rtos/ci:v0.24.5
options: '--entrypoint /bin/bash'
options: '--privileged --entrypoint /bin/bash'
volumes:
- /repo-cache/zephyrproject:/github/cache/zephyrproject
outputs:
Expand All @@ -39,6 +39,14 @@ jobs:
COMMIT_RANGE: ${{ github.event.pull_request.base.sha }}..${{ github.event.pull_request.head.sha }}
BASE_REF: ${{ github.base_ref }}
steps:
- name: Create RAM disk
run: |
pwd
sudo mount -t tmpfs -o size=16G tmpfs $(pwd)
set -x
df -h
free -h
- name: Apply container owner mismatch workaround
run: |
# FIXME: The owner UID of the GITHUB_WORKSPACE directory may not
Expand Down Expand Up @@ -70,6 +78,14 @@ jobs:
fetch-depth: 0
persist-credentials: false

- name: Test
run: |
set -x
pwd
ls -l
df -h
free -h
- name: Environment Setup
if: github.event_name == 'pull_request_target'
run: |
Expand Down

0 comments on commit ed7f8b8

Please sign in to comment.