@@ -5,7 +5,7 @@ concurrency:
5
5
on :
6
6
push :
7
7
branches :
8
- - main
8
+ - main
9
9
pull_request :
10
10
workflow_dispatch :
11
11
jobs :
@@ -14,80 +14,75 @@ jobs:
14
14
strategy :
15
15
matrix :
16
16
rust_version :
17
- - stable
18
- - beta
17
+ - stable
18
+ # Uncomment after Rust 1.90.0 comes out: https://github.com/rust-lang/rust/issues/145699
19
+ # - beta
19
20
node_version :
20
- - 20
21
- - 22
22
- - 24
21
+ - 20
22
+ - 22
23
+ - 24
23
24
system :
24
- - os : macos-13
25
- target : x86_64-apple-darwin
26
- arch : x64
27
- - os : buildjet-2vcpu- ubuntu-2204
28
- target : x86_64-unknown-linux-gnu
29
- arch : x64
30
- - os : buildjet-4vcpu- ubuntu-2204 -arm
31
- target : arm64-unknown-linux-gnu
32
- arch : arm64
33
- - os : windows-2025
34
- target : x86_64-pc-windows-msvc
35
- arch : x64
36
- - os : macos-14
37
- target : aarch64-apple-darwin
38
- arch : arm64
25
+ - os : macos-13
26
+ target : x86_64-apple-darwin
27
+ arch : x64
28
+ - os : ubuntu-24.04
29
+ target : x86_64-unknown-linux-gnu
30
+ arch : x64
31
+ - os : ubuntu-24.04 -arm
32
+ target : arm64-unknown-linux-gnu
33
+ arch : arm64
34
+ - os : windows-2025
35
+ target : x86_64-pc-windows-msvc
36
+ arch : x64
37
+ - os : macos-14
38
+ target : aarch64-apple-darwin
39
+ arch : arm64
39
40
fail-fast : false
40
41
steps :
41
- - uses : actions/checkout@v4
42
- - uses : actions/setup-node@v4
43
- with :
44
- node-version : ${{ matrix.node_version }}
45
- cache : yarn
46
- architecture : ${{ matrix.system.arch }}
47
- - uses : IronCoreLabs/rust-toolchain@v1
48
- with :
49
- toolchain : ${{ matrix.rust_version }}
50
- - name : Install modules
51
- run : yarn install --ignore-scripts
52
- - name : Compile
53
- run : yarn run compile
54
- - name : Run tests
55
- run : yarn run test
56
-
57
- # broken now that node20 is forced even for checkout@v3, which doesn't work using the # WORKAROUND below any more.
58
- # test-docker:
59
- # runs-on: ${{ matrix.os }}
60
- # container:
61
- # image: node:${{ matrix.node_version }}-alpine
62
- # strategy:
63
- # matrix:
64
- # rust_version:
65
- # - stable
66
- # - beta
67
- # node_version:
68
- # - 16
69
- # - 18
70
- # - 20
71
- # - 21
72
- # os:
73
- # - buildjet-2vcpu-ubuntu-2204
74
- # - buildjet-4vcpu-ubuntu-2204-arm
75
- # fail-fast: false
76
- # steps:
77
- # - run: apk add build-base git python3 wget
78
- # # WORKAROUND
79
- # # https://github.com/actions/runner/issues/801#issuecomment-1374967227
80
- # - run: |
81
- # apk add gcompat
82
- # sed -i "s:ID=alpine:ID=NotpineForGHA:" /etc/os-release
83
- # - run: echo RUSTFLAGS="-C target-feature=-crt-static" >> "${GITHUB_ENV}"
84
- # - uses: actions/checkout@v4
85
- # - uses: IronCoreLabs/rust-toolchain@v1
86
- # with:
87
- # toolchain: ${{ matrix.rust_version }}
88
- # - name: Install modules
89
- # run: yarn install --ignore-scripts
90
- # - name: Compile
91
- # run: yarn run compile
92
- # - name: Run tests
93
- # run: yarn run test
42
+ - uses : actions/checkout@v5
43
+ - uses : actions/setup-node@v4
44
+ with :
45
+ node-version : ${{ matrix.node_version }}
46
+ cache : yarn
47
+ architecture : ${{ matrix.system.arch }}
48
+ - uses : IronCoreLabs/rust-toolchain@v1
49
+ with :
50
+ toolchain : ${{ matrix.rust_version }}
51
+ - name : Install modules
52
+ run : yarn install --ignore-scripts
53
+ - name : Compile
54
+ run : yarn run compile
55
+ - name : Run tests
56
+ run : yarn run test
57
+
58
+ # broken now that node20 is forced even for checkout@v3, which doesn't work using the # WORKAROUND below any more.
59
+ # test-docker:
60
+ # runs-on: ${{ matrix.os }}
61
+ # container:
62
+ # image: node:${{ matrix.node_version }}-alpine
63
+ # strategy:
64
+ # matrix:
65
+ # rust_version:
66
+ # - stable
67
+ # - beta
68
+ # node_version:
69
+ # - 20
70
+ # - 22
71
+ # - 24
72
+ # os:
73
+ # - ubuntu-24.04
74
+ # - ubuntu-24.04-arm
75
+ # fail-fast: false
76
+ # steps:
77
+ # - run: apk add build-base git python3 wget
78
+ # - run: echo RUSTFLAGS="-C target-feature=-crt-static" >> "${GITHUB_ENV}"
79
+ # - uses: actions/checkout@v5
80
+ # - uses: IronCoreLabs/rust-toolchain@v1
81
+ # with:
82
+ # toolchain: ${{ matrix.rust_version }}
83
+ # - name: Install modules
84
+ # run: yarn install --ignore-scripts
85
+ # - name: Compile
86
+ # run: yarn run compile
87
+ # - name: Run tests
88
+ # run: yarn run test
0 commit comments