Skip to content
This repository has been archived by the owner on Mar 20, 2021. It is now read-only.

Commit

Permalink
Use tmpfs when running GitHub actions
Browse files Browse the repository at this point in the history
  • Loading branch information
gabrielrussoc committed Feb 1, 2021
1 parent 8511ab4 commit eb0d7bb
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion .github/workflows/pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,19 +11,26 @@ jobs:
runs-on: ubuntu-latest

steps:
- name: Symlink /dev/shm
run: ln -s /dev/shm tmpfs
- uses: actions/checkout@v2
with:
path: tmpfs/devbox
- name: Set up JDK 1.8
uses: actions/setup-java@v1
with:
java-version: 1.8
- name: Build launcher
run: ./mill launcher.assembly
working-directory: ./tmpfs/devbox
- name: Build agent
run: ./mill devbox.agent.assembly
working-directory: ./tmpfs/devbox
- name: Run tests
run: ./mill devbox.test
working-directory: ./tmpfs/devbox
- name: Upload test logs
uses: actions/upload-artifact@v2
with:
name: testlogs
path: out/devbox/test/test/log
path: ./tmpfs/devbox/out/devbox/test/test/log

0 comments on commit eb0d7bb

Please sign in to comment.