-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
5 additions
and
33 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,37 +9,9 @@ jobs: | |
name: test ccache on ubuntu-latest | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout repository | ||
uses: actions/checkout@v4 | ||
- name: Setup MATLAB | ||
uses: matlab-actions/setup-matlab@v2 | ||
|
||
- 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 | ||
- name: List contents | ||
working-directory: /usr/local/MATLAB | ||
run: find . |