Skip to content

Build Ice

Build Ice #3

Workflow file for this run

name: ci
on:
workflow_dispatch:
push:
jobs:
ci:
name: test ccache on ubuntu-latest
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Setup ccache
uses: hendrikmuhs/[email protected]
with:
# create-symlink: true
key: ${{ runner.os }}-build-hello-${{ github.sha }}
restore-keys: |
${{ runner.os }}-build-hello-
${{ runner.os }}-build-
- name: Put ccache in path
run: |
echo "/usr/lib/ccache" >> $GITHUB_PATH
echo "/usr/local/opt/ccache/libexec" >> $GITHUB_PATH
echo "/opt/homebrew/opt/ccache/libexec" >> $GITHUB_PATH
shell: bash
- name: Clone Ice
run: git checkout https://github.com/zeroc-ice/ice.git ice
- name: Build Ice
run: |
cd ice/cpp
make -j-j$(nproc) V=1 srcs