Skip to content
Snippets Groups Projects
Commit 1683bbc0 authored by Abhinav Singh's avatar Abhinav Singh
Browse files

removing Ccache from Almalinux

parent 69944b38
No related branches found
No related tags found
No related merge requests found
......@@ -25,27 +25,28 @@ jobs:
with:
path: ~/openfpm_dependencies/
key: dependencies-${{ github.ref }}
- name: Setup Ccache
run: |
wget https://github.com/ccache/ccache/releases/download/v4.8/ccache-4.8-linux-x86_64.tar.xz
tar -xvf ccache-4.8-linux-x86_64.tar.xz -C ~
export PATH="~/ccache-4.8-linux-x86_64/ccache:$PATH"
- name: Prepare ccache timestamp
id: ccache_cache_timestamp
shell: cmake -P {0}
run: |
string(TIMESTAMP current_date "%Y-%m-%d-%H;%M;%S" UTC)
message("::set-output name=timestamp::${current_date}")
- name: ccache cache files
uses: actions/cache@v3
with:
path: $HOME/.ccache
key: ${{ matrix.config.name }}-ccache-${{ steps.ccache_cache_timestamp.outputs.timestamp }}
restore-keys: |
${{ matrix.config.name }}-ccache-
# - name: Setup Ccache
# run: |
# wget https://github.com/ccache/ccache/releases/download/v4.8/ccache-4.8-linux-x86_64.tar.xz
# tar -xvf ccache-4.8-linux-x86_64.tar.xz -C ~
# export PATH="~/ccache-4.8-linux-x86_64/ccache:$PATH"
# - name: Prepare ccache timestamp
# id: ccache_cache_timestamp
# shell: cmake -P {0}
# run: |
# string(TIMESTAMP current_date "%Y-%m-%d-%H;%M;%S" UTC)
# message("::set-output name=timestamp::${current_date}")
# - name: ccache cache files
# uses: actions/cache@v3
# with:
# path: $HOME/.ccache
# key: ${{ matrix.config.name }}-ccache-${{ steps.ccache_cache_timestamp.outputs.timestamp }}
# restore-keys: |
# ${{ matrix.config.name }}-ccache-
# export PATH="~/ccache-4.8-linux-x86_64/ccache:$PATH"
- name: Build and Pack
run: |
# export PATH="~/ccache-4.8-linux-x86_64/ccache:$PATH"
./build.sh $(pwd) unused pdata 0 ${{ github.ref }}
cp $HOME/openfpm_vars $HOME/openfpm_dependencies/openfpm_pdata/${{ github.ref }}
cp $HOME/.openfpm.mk $HOME/openfpm_dependencies/openfpm_pdata/${{ github.ref }}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment