Skip to content

Commit

Permalink
clean diskspace
Browse files Browse the repository at this point in the history
  • Loading branch information
sameeul committed Aug 21, 2023
1 parent 096534b commit fb42b19
Showing 1 changed file with 8 additions and 15 deletions.
23 changes: 8 additions & 15 deletions .github/workflows/publish_docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,29 +16,22 @@ jobs:
shell: bash -l {0}

steps:
- uses: actions/checkout@v3
- name: Create more disk space
run: sudo rm -rf /usr/share/dotnet && sudo rm -rf /opt/ghc && sudo rm -rf "/usr/local/share/boost" && sudo rm -rf "$AGENT_TOOLSDIRECTORY" && sudo df -H

- uses: conda-incubator/setup-miniconda@v2
- uses: actions/checkout@v3
with:
activate-environment: anaconda-client-env
python-version: 3.8
channels: conda-forge
auto-activate-base: false
submodules: recursive

- name: Install Conda Dependencies
- name: Run Build Script
working-directory: ${{github.workspace}}
run: |
conda install compilers=1.1.1 --file ${{github.workspace}}/ci-utils/envs/conda_cpp.txt --file ${{github.workspace}}/ci-utils/envs/conda_gpu.txt
- name: Configure CMake
run: cmake -B ${{github.workspace}} -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}} -DBUILD_CLI=ON -DUSE_GPU=ON -DUSEARROW=ON -DCMAKE_PREFIX_PATH=$CONDA_PREFIX -DCMAKE_INSTALL_PREFIX=$CONDA_PREFIX
bash ci-utils/build_conda.sh ${{github.workspace}}
- name: Build
run: cmake --build ${{github.workspace}} --config ${{env.BUILD_TYPE}} --parallel 2

- name: Copy 3rd-party libraries to staging directory
working-directory: ${{github.workspace}}
run: |
bash ci-utils/docker_copy_3rd_party_libs.sh $CONDA_PREFIX
bash ci-utils/docker_copy_3rd_party_libs.sh ${{github.workspace}}/miniconda-for-nyxus/envs/nyxus-3.8
- name: Create Version File
run: python setup.py --version| grep -v init > VERSION
Expand Down

0 comments on commit fb42b19

Please sign in to comment.