Skip to content

Commit fc5c3d6

Browse files
committed
try this
1 parent 5800b5e commit fc5c3d6

File tree

1 file changed

+22
-3
lines changed

1 file changed

+22
-3
lines changed

.github/workflows/rust.yml

Lines changed: 22 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,7 @@ env:
1010
CARGO_TERM_COLOR: always
1111

1212
jobs:
13-
build:
14-
13+
ubuntu-build:
1514
runs-on: ubuntu-latest
1615

1716
steps:
@@ -23,10 +22,30 @@ jobs:
2322
- name: Artefacts
2423
uses: actions/upload-artifact@v4
2524
with:
26-
name: cloudflareddns
25+
name: cloudflareddns-${{ runner.os }}-${{ runner.arch }}
2726
path: |
2827
target/release/cloudflareddns
2928
LICENSE
3029
README.md
3130
- name: Run tests
3231
run: cargo test --verbose
32+
33+
macos-build:
34+
runs-on: macos-latest
35+
36+
steps:
37+
- uses: actions/checkout@v4
38+
- name: Cache dependencies
39+
uses: Swatinem/rust-cache@v2.7.3
40+
- name: Build
41+
run: cargo build --release --verbose
42+
- name: Artefacts
43+
uses: actions/upload-artifact@v4
44+
with:
45+
name: cloudflareddns-${{ runner.os }}-${{ runner.arch }}
46+
path: |
47+
target/release/cloudflareddns
48+
LICENSE
49+
README.md
50+
- name: Run tests
51+
run: cargo test --verbose

0 commit comments

Comments
 (0)