Skip to content

Commit 563e650

Browse files
committed
add windows to the mix
1 parent 5c8395b commit 563e650

File tree

1 file changed

+24
-3
lines changed

1 file changed

+24
-3
lines changed

.github/workflows/rust.yml

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

1212
jobs:
13-
ubuntu-amd64-build:
13+
ubuntu-linux-amd64-build:
1414
runs-on: ubuntu-latest
1515

1616
steps:
@@ -28,7 +28,7 @@ jobs:
2828
LICENSE
2929
README.md
3030
31-
ubuntu-arm64-build:
31+
ubuntu-linux-arm64-build:
3232
runs-on: ubuntu-latest
3333

3434
steps:
@@ -49,7 +49,28 @@ jobs:
4949
LICENSE
5050
README.md
5151
52-
macos-build:
52+
ubuntu-windows-amd64-build:
53+
runs-on: ubuntu-latest
54+
55+
steps:
56+
- uses: actions/checkout@v4
57+
- name: Cache dependencies
58+
uses: Swatinem/rust-cache@v2.7.3
59+
- uses: actions-rs/cargo@v1
60+
with:
61+
use-cross: true
62+
command: build
63+
args: --all --release --target=x86_64-pc-windows-gnu
64+
- name: Artefacts
65+
uses: actions/upload-artifact@v4
66+
with:
67+
name: cloudflareddns-windows-${{ runner.arch }}
68+
path: |
69+
target/**/cloudflareddns
70+
LICENSE
71+
README.md
72+
73+
macos-arm64-build:
5374
runs-on: macos-latest
5475

5576
steps:

0 commit comments

Comments
 (0)