-
Notifications
You must be signed in to change notification settings - Fork 0
45 lines (38 loc) · 1.16 KB
/
ci.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
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