Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
unkcpz committed Sep 12, 2023
1 parent 2edc655 commit eb79996
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 3 deletions.
3 changes: 3 additions & 0 deletions .github/actions/create-dev-env/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,9 @@ runs:

- name: Install Dev Dependencies 📦
run: |
echo $(whoami)
echo $(which python)
echo $(python --version)
pip install --upgrade pip
pip install --upgrade -r requirements-dev.txt
shell: bash
4 changes: 3 additions & 1 deletion .github/workflows/docker-build-test-upload.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,9 @@ jobs:
shell: bash

- name: Save image as a tar for later use 💾
run: docker save ${{ env.OWNER }}/${{ inputs.image }} -o /tmp/aiidalab/${{ inputs.image }}-${{ inputs.architecture }}.tar
run: |
mkdir -p /tmp/aiidalab/
docker save ${{ env.OWNER }}/${{ inputs.image }} -o /tmp/aiidalab/${{ inputs.image }}-${{ inputs.architecture }}.tar
shell: bash

- name: Upload image as artifact 💾
Expand Down
5 changes: 3 additions & 2 deletions aarch64-runner/setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -60,11 +60,12 @@ sudo -i -u ${GITHUB_RUNNER_USER} bash << EOF
curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install.sh
echo "Setting up python3"
brew install python
# For Apple Silicon machines, the path are slightly different.
# For Apple Silicon machines, the path are slightly different.
# After running brew install python, must ensure your ~/.zprofile uses the correct Homebrew paths:
echo 'eval "$(/opt/homebrew/bin/brew shellenv)"' >> /Users/${GITHUB_RUNNER_USER}/.zprofile
echo 'export PATH="/opt/homebrew/opt/python/libexec/bin:$PATH"' >> /Users/${GITHUB_RUNNER_USER}/.zprofile
echo "Setting up docker"
echo 'export DOCKER_HOST="unix://$HOME/.colima/default/docker.sock"' >> /Users/${GITHUB_RUNNER_USER}/.zprofile
echo "Setting up docker "
brew install docker
brew install colima
EOF
Expand Down

0 comments on commit eb79996

Please sign in to comment.