Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Linux Caching #354

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 18 additions & 0 deletions .github/workflows/build-linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,29 @@ jobs:
env:
TARGET: ${{matrix.cfg.target}}
steps:
- name: pwd
run: pwd

- name: Install libunwind
run: sudo apt-get install libunwind-dev
- uses: actions/checkout@v3
- name: Cache OF
id: cache-of
uses: actions/cache@v3
env:
cache-name: cache-keep-of
with:
path: |
/home/runner/work/projectGenerator/openFrameworks/**
key: ${{ runner.os }}-${{matrix.cfg.opt}}-${{ env.cache-name }}-${{ hashFiles('openFrameworks/**/*.cpp') }}
restore-keys: |
${{ runner.os }}-${{matrix.cfg.opt}}-${{ env.cache-name }}-
- name: Build
run:
./scripts/linux/buildPG.sh;
env:
GA_CI_SECRET: ${{ secrets.CI_SECRET }}


- name: LIST
run: ls -alFR
16 changes: 10 additions & 6 deletions .github/workflows/build-macos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,15 @@ jobs:
build-osx:
runs-on: macos-12
strategy:
matrix:
cfg:
- {target: osx}
matrix:
cfg:
- {target: osx}
env:
TARGET: ${{matrix.cfg.target}}
steps:
- name: pwd
run: pwd

- uses: actions/checkout@v3
- name: Cache OF
id: cache-of
Expand All @@ -33,7 +36,7 @@ jobs:
/Users/runner/work/projectGenerator/openFrameworks/**
key: ${{ runner.os }}-${{matrix.cfg.opt}}-${{ env.cache-name }}-${{ hashFiles('openFrameworks/**/*.cpp') }}
restore-keys: |
${{ runner.os }}-${{matrix.cfg.opt}}-${{ env.cache-name }}-
${{ runner.os }}-${{matrix.cfg.opt}}-${{ env.cache-name }}-
- name: rm-dev
run: sudo rm -rf /Library/Developer
- name: Build
Expand All @@ -50,5 +53,6 @@ jobs:
GA_APPLE_USERNAME: ${{ secrets.GA_APPLE_USERNAME }}
GA_APPLE_PASS: ${{ secrets.GA_APPLE_PASS }}
GA_NOTARIZE_PROVIDER: ${{ secrets.GA_NOTARIZE_PROVIDER }}



- name: LIST
run: ls -alFR