Skip to content

Commit

Permalink
Fixes for CI troubles (#1061)
Browse files Browse the repository at this point in the history
* Use Intel arch machines for macOS tests

* Downgrade macOS runners to v12

* Update workflows

* Touch test crate
  • Loading branch information
mosteo authored May 16, 2024
1 parent 84d8923 commit 97c7abe
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 13 deletions.
7 changes: 2 additions & 5 deletions .github/workflows/authorship.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,11 +27,8 @@ jobs:
ref: ${{github.base_ref}}
path: ${{env.CHECKS_REPO}}

- name: Set up nightly `alr`
uses: alire-project/setup-alire@v2
with:
version: nightly
toolchain: --disable-assistant
- name: Set up stable `alr`
uses: alire-project/setup-alire@v3

- name: Test authorship
run: ${{env.CHECKS_REPO}}/scripts/check-author.sh "${{ github.event.pull_request.user.login }}"
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/build-native-master.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:
fail-fast: false
matrix:
os:
- macos-latest
- macos-12
- ubuntu-latest
- windows-latest

Expand All @@ -50,7 +50,7 @@ jobs:
path: ${{env.CHECKS_REPO}}

- name: Set up devel `alr`
uses: alire-project/setup-alire@v2
uses: alire-project/setup-alire@v3
with:
branch: 'master'

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/build-native.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
fail-fast: false
matrix:
os:
- macos-latest
- macos-12
- ubuntu-latest
- windows-latest

Expand Down
9 changes: 5 additions & 4 deletions .github/workflows/build-ports.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ name: Build Crate (MacPorts)
env:
CHECKS_ORG: alire-project
CHECKS_REPO: alire-index-checks
ALR_VERSION: 2.0.1

on:
pull_request:
Expand All @@ -26,7 +27,7 @@ jobs:
fail-fast: false
matrix:
os:
- macos-latest
- macos-12

steps:
- name: Check out alire-index
Expand All @@ -45,10 +46,10 @@ jobs:
ref: ${{github.base_ref}}
path: ${{env.CHECKS_REPO}}

- name: Set up devel `alr`
uses: alire-project/setup-alire@v2
- name: Set up stable `alr`
uses: alire-project/setup-alire@v3
with:
branch: 'master'
version: ${{env.ALR_VERSION}}

- name: Disable Homebrew
run: rm -f $(which brew)
Expand Down
2 changes: 1 addition & 1 deletion index/li/libhello/libhello-1.0.1.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,4 @@ url = "git+https://github.com/alire-project/libhello.git"

# We use this crate as a trigger to conveniently test minor changes to
# metaprocesses of the CI of the repository itself.
# Last touch: 2024-03-21 14:29:00 CET
# Last touch: 2024-05-16 13:40 CET

0 comments on commit 97c7abe

Please sign in to comment.