Skip to content

Commit e7a4859

Browse files
committed
different OS were added in build step
1 parent e01a239 commit e7a4859

1 file changed

Lines changed: 9 additions & 21 deletions

File tree

.github/workflows/ci.yml

Lines changed: 9 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -14,26 +14,14 @@ env:
1414

1515
jobs:
1616
build:
17-
18-
runs-on: ubuntu-latest
19-
17+
strategy:
18+
matrix:
19+
os: [ ubuntu-latest, macos-13, macos-14, windows-latest ]
20+
runs-on: ${{ matrix.os }}
21+
2022
steps:
21-
- uses: actions/checkout@v4
22-
- name: Build
23-
run: cargo build --verbose
23+
- name: Checkout
24+
uses: actions/checkout@v4
2425

25-
release:
26-
needs: build
27-
runs-on: ubuntu-latest
28-
env:
29-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # provided automatically by GitHub
30-
steps:
31-
- uses: actions/checkout@v4
32-
- uses: actions/download-artifact@v4
33-
with: { name: dist }
34-
- id: create_release
35-
uses: elgohr/Github-Release-Action@v5
36-
with:
37-
title: Dev Build ${{ github.sha }}
38-
tag: dev-${{ github.sha }}
39-
prerelease: true
26+
-name: Build
27+
run: cargo build --verbose

0 commit comments

Comments
 (0)