Skip to content

Commit

Permalink
Fixed CI to use free macos-13 github runner. Permission fix for relea…
Browse files Browse the repository at this point in the history
…se CI
  • Loading branch information
gsleap committed Oct 17, 2024
1 parent 6b3d7d2 commit 96f171a
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 4 deletions.
10 changes: 8 additions & 2 deletions .github/workflows/releases.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,10 @@ jobs:

- name: Build linux C and Rust libraries
run: |
# Fix permissions- output files from maturn=action end up owned by runner:docker
# so lets change them back to root:root
sudo chown -R root:root .
export TAG="$(git describe --tags)"
echo "TAG=$TAG"
Expand Down Expand Up @@ -113,10 +117,12 @@ jobs:
strategy:
matrix:
platform: # see https://github.com/actions/runner-images?tab=readme-ov-file#available-images for runner types
- runner: macos-14-large
- runner: macos-13
target: x86_64
- runner: macos-14
target: aarch64
- runner: macos-15
target: aarch64
steps:
- name: Checkout repository
uses: actions/checkout@v4
Expand All @@ -138,7 +144,7 @@ jobs:
path: dist

- name: Build C and Rust libraries
run: |
run: |
export TAG="$(git describe --tags)"
echo "TAG=$TAG"
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/run_python_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
strategy:
matrix:
# see https://github.com/actions/runner-images?tab=readme-ov-file#available-images for runner types
os: [ubuntu-latest, macos-14, macos-14-large] # macos-14 is Arm64, macos-14-large is x86_64
os: [ubuntu-latest, macos-13, macos-14, macos-15] # macos-13 is x86_64, macos-14 & 15 are Arm64
python-version: [3.9, "3.10", "3.11", "3.12", "3.13"]
exclude:
- os: macOS-14
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/run_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
strategy:
matrix:
# see https://github.com/actions/runner-images?tab=readme-ov-file#available-images for runner types
os: [ubuntu-latest, macos-14, macos-14-large] # macos-14 is Arm64, macos-14-large is x86_64
os: [ubuntu-latest, macos-13, macos-14, macos-15] # macos-13 is x86_64, macos-14 & 15 are Arm64
steps:
- name: Checkout sources
uses: actions/checkout@v4
Expand Down

0 comments on commit 96f171a

Please sign in to comment.