Skip to content

Commit

Permalink
Remove ccache [Issue opendocument-app#4]
Browse files Browse the repository at this point in the history
Once we figure out how to make it work with conan, we can add it back
  • Loading branch information
ViliusSutkus89 committed Jul 29, 2024
1 parent 96e2671 commit 95fa80d
Showing 1 changed file with 0 additions and 28 deletions.
28 changes: 0 additions & 28 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,11 +40,6 @@ concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
cancel-in-progress: true

env:
CCACHE_DIR: ${{ github.workspace }}/ccache
CCACHE_MAXSIZE: 500M
CCACHE_KEY_SUFFIX: r1

jobs:
generate-matrices:
runs-on: ubuntu-22.04
Expand Down Expand Up @@ -122,17 +117,6 @@ jobs:
- name: checkout
uses: actions/checkout@v4

- name: ubuntu install ccache
if: runner.os == 'Linux'
run: |
sudo apt install ccache
ccache -V
- name: macos install ccache
if: runner.os == 'macOS'
run: |
brew install ccache
ccache -V
- name: setup python 3.12
uses: actions/setup-python@v5
with:
Expand All @@ -153,16 +137,6 @@ jobs:
- name: Conan export all packages
run: python scripts/conan_export_all_packages.py

- name: cache
uses: actions/cache@v4
with:
path: |
~/.ccache
/Users/runner/Library/Caches/ccache
key: ${{ matrix.config.build_machine }}-${{ matrix.config.host_profile }}-${{ env.CCACHE_KEY_SUFFIX }}
restore-keys: |
${{ matrix.config.build_machine }}-${{ matrix.config.host_profile }}-
- name: Parse build from source option
id: build_from_source
run: |
Expand All @@ -185,5 +159,3 @@ jobs:
- name: conan upload
if: github.ref == 'refs/heads/main' || github.event_name == 'workflow_dispatch' && github.event.inputs.upload_to_artifactory == 'true'
run: conan upload "*" --check --confirm --remote odr

- run: ccache --show-stats

0 comments on commit 95fa80d

Please sign in to comment.