Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add macos-14 M1 runner to CI #318

Closed
wants to merge 3 commits into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
needs: [lint, test]
strategy:
matrix:
environment: [ubuntu-latest, macos-latest, windows-latest]
environment: [ubuntu-latest, macos-12, macos-14, windows-latest]

runs-on: ${{ matrix.environment }}
timeout-minutes: 10
Expand Down Expand Up @@ -54,22 +54,22 @@ jobs:

- name: Compress (Linux and macOS)
if: runner.os == 'Linux' || runner.os == 'macOS'
run: tar -czvf medusa.tar.gz medusa
run: tar -czvf medusa-${{ runner.os }}-${{ runner.arch }}.tar.gz medusa

- name: Build (Windows)
if: runner.os == 'Windows'
run: go build -o medusa.exe -v .

- name: Compress (Windows)
if: runner.os == 'Windows'
run: tar -czvf medusa.tar.gz medusa.exe
run: tar -czvf medusa-${{ runner.os }}-${{ runner.arch }}.tar.gz medusa.exe

- name: Upload artifact on merge to master
if: github.ref == 'refs/heads/master'
uses: actions/upload-artifact@v3
with:
name: medusa-${{ runner.os }}
path: medusa.tar.gz
name: medusa-${{ runner.os }}-${{ runner.arch }}
path: medusa-${{ runner.os }}-${{ runner.arch }}.tar.gz

lint:
runs-on: ubuntu-latest
Expand Down Expand Up @@ -110,7 +110,7 @@ jobs:
test:
strategy:
matrix:
environment: [ubuntu-latest, macos-latest, windows-latest]
environment: [ubuntu-latest, macos-12, macos-14, windows-latest]

runs-on: ${{ matrix.environment }}
timeout-minutes: 20
Expand Down
Loading