Skip to content

Commit

Permalink
Merge pull request #2275 from sparklemotion/flavorjones-ci-fix-ga-cache
Browse files Browse the repository at this point in the history
ci: make the GA cache platform-specific
  • Loading branch information
flavorjones committed Jun 19, 2021
2 parents 37adb20 + 1ed629b commit 20e2b74
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 11 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/ci.yml
Expand Up @@ -57,7 +57,7 @@ jobs:
if: matrix.sys == 'disable'
with:
path: ports/archives
key: tarballs-${{hashFiles('**/dependencies.yml')}}
key: tarballs-ubuntu-${{hashFiles('**/dependencies.yml')}}
restore-keys: tarballs-
- run: bundle install --local || bundle install
- run: bundle exec rake compile -- --${{matrix.sys}}-system-libraries
Expand All @@ -79,7 +79,7 @@ jobs:
if: matrix.sys == 'disable'
with:
path: ports/archives
key: tarballs-${{hashFiles('**/dependencies.yml')}}
key: tarballs-ubuntu-${{hashFiles('**/dependencies.yml')}}
restore-keys: tarballs-
- run: bundle install --local || bundle install
- run: bundle exec rake compile -- --${{matrix.sys}}-system-libraries
Expand Down Expand Up @@ -135,7 +135,7 @@ jobs:
if: matrix.sys == 'disable'
with:
path: ports/archives
key: tarballs-${{hashFiles('**/dependencies.yml')}}
key: tarballs-ubuntu-${{hashFiles('**/dependencies.yml')}}
restore-keys: tarballs-
- run: bundle install --local || bundle install
- run: bundle exec rake compile -- --${{matrix.sys}}-system-libraries
Expand All @@ -159,7 +159,7 @@ jobs:
if: matrix.sys == 'disable'
with:
path: ports/archives
key: tarballs-${{hashFiles('**/dependencies.yml')}}
key: tarballs-ubuntu-${{hashFiles('**/dependencies.yml')}}
restore-keys: tarballs-
- run: bundle install --local || bundle install
- run: bundle exec rake compile -- --${{matrix.sys}}-system-libraries
Expand All @@ -183,7 +183,7 @@ jobs:
if: matrix.sys == 'disable'
with:
path: ports/archives
key: tarballs-${{hashFiles('**/dependencies.yml')}}
key: tarballs-macos-${{hashFiles('**/dependencies.yml')}}
restore-keys: tarballs-
- run: bundle exec rake compile -- --${{matrix.sys}}-system-libraries
- run: bundle exec rake test
Expand Down Expand Up @@ -211,7 +211,7 @@ jobs:
if: matrix.sys == 'disable'
with:
path: ports/archives
key: tarballs-${{hashFiles('**/dependencies.yml')}}
key: tarballs-windows-${{hashFiles('**/dependencies.yml')}}
restore-keys: tarballs-
- run: bundle exec rake compile -- --${{matrix.sys}}-system-libraries
- run: bundle exec rake test
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/gem-install.yml
Expand Up @@ -26,7 +26,7 @@ jobs:
- uses: actions/cache@v2
with:
path: ports/archives
key: tarballs-${{hashFiles('**/dependencies.yml')}}
key: tarballs-ubuntu-${{hashFiles('**/dependencies.yml')}}
restore-keys: tarballs-
- run: ./scripts/test-gem-build gems ruby
- uses: actions/upload-artifact@v2
Expand Down Expand Up @@ -110,7 +110,7 @@ jobs:
- uses: actions/cache@v2
with:
path: ports/archives
key: tarballs-${{hashFiles('**/dependencies.yml')}}
key: tarballs-ubuntu-${{hashFiles('**/dependencies.yml')}}
restore-keys: tarballs-
- run: "./scripts/test-gem-build gems ${{matrix.plat}}"
- uses: actions/upload-artifact@v2
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/truffle.yml
Expand Up @@ -25,7 +25,7 @@ jobs:
- uses: actions/cache@v2
with:
path: ports/archives
key: tarballs-${{hashFiles('**/dependencies.yml')}}
key: tarballs-ubuntu-${{hashFiles('**/dependencies.yml')}}
restore-keys: tarballs-
- run: bundle install --local || bundle install
- run: bundle exec rake compile -- ${{matrix.flags}}
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/upstream.yml
Expand Up @@ -87,7 +87,7 @@ jobs:
if: matrix.sys == 'disable'
with:
path: ports/archives
key: tarballs-${{hashFiles('**/dependencies.yml')}}
key: tarballs-${{matrix.plat}}-${{hashFiles('**/dependencies.yml')}}
restore-keys: tarballs-
- run: bundle exec rake compile -- --${{matrix.sys}}-system-libraries
- run: bundle exec rake test
Expand All @@ -110,7 +110,7 @@ jobs:
if: matrix.sys == 'disable'
with:
path: ports/archives
key: tarballs-${{hashFiles('**/dependencies.yml')}}
key: tarballs-ubuntu-${{hashFiles('**/dependencies.yml')}}
restore-keys: tarballs-
- run: bundle exec rake compile -- --${{matrix.sys}}-system-libraries
- run: bundle exec rake test:valgrind
Expand Down

0 comments on commit 20e2b74

Please sign in to comment.