Skip to content

Commit

Permalink
Test Cirrus Runners Cache
Browse files Browse the repository at this point in the history
  • Loading branch information
edigaryev committed Apr 9, 2024
0 parents commit 6558ab6
Showing 1 changed file with 40 additions and 0 deletions.
40 changes: 40 additions & 0 deletions .github/workflows/cirrus-runners-cache.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
name: Cirrus Runners Cache

on:
push:

jobs:
macos:
name: "${{ matrix.runs_on }} + ${{ matrix.cache_action }}"

strategy:
matrix:
runs_on:
- "ubuntu-latest"
- "ghcr.io/cirruslabs/ubuntu-runner-amd64:22.04-sm"
- "ghcr.io/cirruslabs/macos-sonoma-xcode:latest"
uses:
- "actions/cache@v4"
- "cirruslabs/cache@v4"

runs-on: ${{ matrix.runs_on }}

steps:
- uses: actions/checkout@v4

- name: Print environment
run: env

- name: Cache Binary
id: cache
uses: ${{ matrix.uses }}
with:
path: testfile
key: try-1

- name: Generate Binary
if: steps.cache.outputs.cache-hit != 'true'
run: dd if=/dev/urandom of=testfile bs=1024 count=512000

- name: Stat Binary
run: stat testfile

0 comments on commit 6558ab6

Please sign in to comment.