Skip to content

Commit

Permalink
disable ccache on windows
Browse files Browse the repository at this point in the history
cant get it to work
  • Loading branch information
cgytrus committed Aug 2, 2023
1 parent 751df06 commit 7788387
Showing 1 changed file with 7 additions and 9 deletions.
16 changes: 7 additions & 9 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,15 +26,20 @@ jobs:
- name: Windows
os: windows-latest
os_identifier: win
extra_flags: '-G Ninja -DCMAKE_BUILD_TYPE=RelWithDebInfo -DGEODE_DEBUG=On'
extra_flags: '-DCMAKE_BUILD_TYPE=RelWithDebInfo -DGEODE_DEBUG=On'
cli_cmd: ''
package_cmd: 'makensis -WX -V3 ./installer/windows/installer.nsi'
installer_path: './installer/windows/geode-installer-win.exe'

- name: macOS
os: macos-latest
os_identifier: mac
extra_flags: '-DCMAKE_C_COMPILER=clang -DCMAKE_CXX_COMPILER=clang++ -DCMAKE_BUILD_TYPE=RelWithDebInfo -DGEODE_DEBUG=On -DCMAKE_OSX_DEPLOYMENT_TARGET=10.13'
extra_flags: |
-DCMAKE_C_COMPILER=clang
-DCMAKE_CXX_COMPILER=clang++
-DCMAKE_C_COMPILER_LAUNCHER=ccache
-DCMAKE_CXX_COMPILER_LAUNCHER=ccache
-DCMAKE_BUILD_TYPE=RelWithDebInfo -DGEODE_DEBUG=On -DCMAKE_OSX_DEPLOYMENT_TARGET=10.13
cli_cmd: 'chmod +x $GITHUB_WORKSPACE/cli/geode'
package_cmd: './installer/mac/package.sh ./bin/nightly ./installer/mac/geode-installer-mac.pkg'
installer_path: './installer/mac/geode-installer-mac.pkg'
Expand All @@ -56,11 +61,6 @@ jobs:
arch: amd64_x86
if: matrix.config.os_identifier == 'win'

- name: Install ninja
shell: bash
run: choco install ninja
if: matrix.config.os_identifier == 'win'

- name: Download CLI
uses: robinraju/release-downloader@v1.8
with:
Expand All @@ -82,8 +82,6 @@ jobs:
cmake -B ${{ github.workspace }}/build
${{ matrix.config.extra_flags }}
-DCLI_PATH="${{ github.workspace }}/cli"
-DCMAKE_C_COMPILER_LAUNCHER=ccache
-DCMAKE_CXX_COMPILER_LAUNCHER=ccache
- name: Build
run: |
Expand Down

0 comments on commit 7788387

Please sign in to comment.