Remove dash #10
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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: Install Ice deps | |
run: | | |
sudo apt-get update && sudo apt-get install -y \ | |
libbz2-dev libssl-dev libffi-dev \ | |
libmcpp-dev libedit-dev liblmdb-dev libexpat1-dev \ | |
libbluetooth-dev libdbus-1-dev \ | |
libsystemd-dev | |
- 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 clone https://github.com/zeroc-ice/ice | |
- name: Build Ice | |
run: | | |
cd ice/cpp | |
make -j3 V=1 Ice |