Skip to content

Commit

Permalink
Try: move to macos-14 in GHA
Browse files Browse the repository at this point in the history
  • Loading branch information
unkcpz committed Feb 23, 2024
1 parent fe7a8f3 commit 68310b7
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 18 deletions.
1 change: 1 addition & 0 deletions .github/actions/create-dev-env/action.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
---
# TODO: delete ME
name: Build environment
description: Create build environment

Expand Down
17 changes: 3 additions & 14 deletions .github/workflows/docker-build-test-upload.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,21 +28,10 @@ jobs:
steps:
- name: Checkout Repo ⚡️
uses: actions/checkout@v4
- name: Create dev environment 📦
uses: ./.github/actions/create-dev-env
with:
architecture: ${{ inputs.architecture }}

# Self-hosted runners share a state (whole VM) between runs
# Also, they might have running or stopped containers,
# which are not cleaned up by `docker system prun`
- name: Reset docker state and cleanup artifacts 🗑️
if: ${{ inputs.platform != 'x86_64' }}
- name: Install Dev Dependencies 📦
run: |
docker kill $(docker ps --quiet) || true
docker rm $(docker ps --all --quiet) || true
docker system prune --all --force
rm -rf /tmp/aiidalab/
pip install --upgrade pip
pip install --upgrade -r requirements-dev.txt
shell: bash

- name: Build image 🛠
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,30 +53,30 @@ jobs:
with:
image: base
architecture: arm64
runsOn: ARM64
runsOn: macos-14

arm64-lab:
uses: ./.github/workflows/docker-build-test-upload.yml
with:
image: lab
architecture: arm64
runsOn: ARM64
runsOn: macos-14
needs: [arm64-base]

arm64-base-with-services:
uses: ./.github/workflows/docker-build-test-upload.yml
with:
image: base-with-services
architecture: arm64
runsOn: ARM64
runsOn: macos-14
needs: [arm64-base]

arm64-full-stack:
uses: ./.github/workflows/docker-build-test-upload.yml
with:
image: full-stack
architecture: arm64
runsOn: ARM64
runsOn: macos-14
needs: [arm64-base-with-services, arm64-lab]

amd64-push-ghcr:
Expand Down

0 comments on commit 68310b7

Please sign in to comment.