Skip to content

Commit

Permalink
ci: macos-12 is deprecated
Browse files Browse the repository at this point in the history
  • Loading branch information
azzamsa committed Dec 13, 2024
1 parent ba8ccf2 commit a865ad7
Show file tree
Hide file tree
Showing 2 changed files with 46 additions and 15 deletions.
30 changes: 23 additions & 7 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
tool: typos-cli

- name: Ensure `fmt` has been run
run: just fmt-check
run: just fmt-check

- name: Run clippy
run: just lint
Expand Down Expand Up @@ -53,12 +53,28 @@ jobs:
fail-fast: false
matrix:
include:
- { build: linux-gnu, os: ubuntu-22.04, target: x86_64-unknown-linux-gnu }
- { build: linux-musl, os: ubuntu-22.04, target: x86_64-unknown-linux-musl }
- { build: win-gnu, os: windows-2022, target: x86_64-pc-windows-gnu }
- { build: win-msvc, os: windows-2022, target: x86_64-pc-windows-msvc }
- { build: win32-msvc, os: windows-2022, target: i686-pc-windows-msvc }
- { build: macos, os: macos-12 , target: x86_64-apple-darwin }
- {
build: linux-gnu,
os: ubuntu-22.04,
target: x86_64-unknown-linux-gnu,
}
- {
build: linux-musl,
os: ubuntu-22.04,
target: x86_64-unknown-linux-musl,
}
- { build: win-gnu, os: windows-2022, target: x86_64-pc-windows-gnu }
- {
build: win-msvc,
os: windows-2022,
target: x86_64-pc-windows-msvc,
}
- {
build: win32-msvc,
os: windows-2022,
target: i686-pc-windows-msvc,
}
- { build: macos, os: macos-14, target: x86_64-apple-darwin }

steps:
- name: Checkout source code
Expand Down
31 changes: 23 additions & 8 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: Release
on:
push:
tags:
- 'v*'
- "v*"

env:
APP_NAME: bilal
Expand All @@ -13,7 +13,6 @@ jobs:
name: Create GitHub Release
runs-on: ubuntu-22.04
steps:

- name: Checkout
uses: actions/checkout@v4
with:
Expand Down Expand Up @@ -59,12 +58,28 @@ jobs:
fail-fast: false
matrix:
include:
- { build: linux-gnu, os: ubuntu-22.04, target: x86_64-unknown-linux-gnu }
- { build: linux-musl, os: ubuntu-22.04, target: x86_64-unknown-linux-musl }
- { build: win-gnu, os: windows-2022, target: x86_64-pc-windows-gnu }
- { build: win-msvc, os: windows-2022, target: x86_64-pc-windows-msvc }
- { build: win32-msvc, os: windows-2022, target: i686-pc-windows-msvc }
- { build: macos, os: macos-12, target: x86_64-apple-darwin }
- {
build: linux-gnu,
os: ubuntu-22.04,
target: x86_64-unknown-linux-gnu,
}
- {
build: linux-musl,
os: ubuntu-22.04,
target: x86_64-unknown-linux-musl,
}
- { build: win-gnu, os: windows-2022, target: x86_64-pc-windows-gnu }
- {
build: win-msvc,
os: windows-2022,
target: x86_64-pc-windows-msvc,
}
- {
build: win32-msvc,
os: windows-2022,
target: i686-pc-windows-msvc,
}
- { build: macos, os: macos-14, target: x86_64-apple-darwin }

steps:
- name: Checkout
Expand Down

0 comments on commit a865ad7

Please sign in to comment.