-
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.
Signed-off-by: Alberto Tudela <[email protected]>
- Loading branch information
Showing
1 changed file
with
16 additions
and
13 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 |
---|---|---|
|
@@ -15,7 +15,7 @@ env: | |
MIRA_URL: https://www.mira-project.org/downloads/ | ||
|
||
jobs: | ||
build: | ||
install-mira: | ||
runs-on: ubuntu-22.04 | ||
env: | ||
CCACHE_DIR: ${{ github.workspace }}/.ccache | ||
|
@@ -24,25 +24,14 @@ jobs: | |
uses: awalsh128/[email protected] | ||
with: | ||
packages: g++ cmake subversion doxygen libxml2-dev libssl-dev libsqlite3-dev libboost-all-dev libogre-1.9-dev libsvn-dev libopencv-dev binutils-dev libiberty-dev libcurl4-gnutls-dev libprocps-dev libqwt-qt5-dev libqt5webkit5-dev libqwtmathml-qt5-dev libqt5opengl5-dev libqt5svg5-dev qt*5-dev qttools5-dev-tools git | ||
- name: Checkout Repository | ||
uses: actions/checkout@v4 | ||
- name: Restore MIRA cache | ||
id: restore-mira-cache | ||
uses: actions/cache/restore@v4 | ||
with: | ||
path: ${{ env.MIRA_PATH }} | ||
key: mira-${{ runner.os }}-ubuntu-22.04 | ||
# - name: Make ccache directory | ||
# run: mkdir -p ${{ env.CCACHE_DIR }} | ||
# - name: Cache ccache | ||
# uses: actions/cache@v4 | ||
# with: | ||
# path: ${{ env.CCACHE_DIR }} | ||
# key: ccache-${{ runner.os }}-${{ github.sha }}-${{ github.run_id }} | ||
# restore-keys: | | ||
# ccache-${{ runner.os }}-${{ github.sha }} | ||
# ccache-${{ runner.os }} | ||
- name: Install MIRA | ||
if: steps.restore-mira-cache.outputs.cache-hit != 'true' | ||
run: | | ||
curl -o mira-installer-binary.sh https://www.mira-project.org/downloads/mira-installer-binary.sh | ||
chmod +x mira-installer-binary.sh | ||
|
@@ -54,6 +43,20 @@ jobs: | |
key: ${{ steps.restore-mira-cache.outputs.cache-primary-key }} | ||
|
||
|
||
# - name: Make ccache directory | ||
# run: mkdir -p ${{ env.CCACHE_DIR }} | ||
# - name: Cache ccache | ||
# uses: actions/cache@v4 | ||
# with: | ||
# path: ${{ env.CCACHE_DIR }} | ||
# key: ccache-${{ runner.os }}-${{ github.sha }}-${{ github.run_id }} | ||
# restore-keys: | | ||
# ccache-${{ runner.os }}-${{ github.sha }} | ||
# ccache-${{ runner.os }} | ||
|
||
|
||
# - name: Checkout Repository | ||
# uses: actions/checkout@v4 | ||
# - name: Setup ROS 2 | ||
# uses: ros-tooling/[email protected] | ||
# with: | ||
|